Home
last modified time | relevance | path

Searched refs:tensor_value (Results 1 – 16 of 16) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dtensor_array_ops.cc425 const Tensor* tensor_value; in Compute() local
427 OP_REQUIRES_OK(ctx, ctx->input("value", &tensor_value)); in Compute()
439 ctx, tensor_value->dtype() == tensor_array->ElemType(), in Compute()
443 DataTypeString(tensor_value->dtype()), ".")); in Compute()
444 PersistentTensor persistent_tensor(*tensor_value); in Compute()
1044 const Tensor* tensor_value; in Compute() local
1045 OP_REQUIRES_OK(ctx, ctx->input("value", &tensor_value)); in Compute()
1046 TensorShape element_shape(tensor_value->shape()); in Compute()
1054 ctx, tensor_value->dtype() == tensor_array->ElemType(), in Compute()
1058 DataTypeString(tensor_value->dtype()), ".")); in Compute()
[all …]
Dquantized_add_op.cc374 const int64 tensor_value = static_cast<int64>(tensor_data[i]); in VectorTensorAddition() local
376 tensor_0_int64 + (tensor_value * tensor_mult_int32); in VectorTensorAddition()
434 const int64 tensor_value = static_cast<int64>(tensor_data[i]); in VectorTensorAddition() local
436 tensor_0_int64 + (tensor_value * tensor_mult_int32); in VectorTensorAddition()
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_tensor_test.cc67 EXPECT_GT(root.children(0).tensor_value().value_double_size(), 10); in TEST_F()
69 EXPECT_GT(root.children(1).tensor_value().value_double_size(), 10); in TEST_F()
71 EXPECT_EQ(root.children(2).tensor_value().value_double_size(), 1); in TEST_F()
/external/tensorflow/tensorflow/python/framework/
Dconstant_op.py279 tensor_value = attr_value_pb2.AttrValue()
280 tensor_value.tensor.CopyFrom(
284 dtype_value = attr_value_pb2.AttrValue(type=tensor_value.tensor.dtype)
287 attrs={"value": tensor_value,
/external/tensorflow/tensorflow/python/debug/cli/
Dstepper_cli.py542 tensor_value = self._node_stepper.get_tensor_value(tensor_name)
547 tensor_value,
584 tensor_value = eval(parsed.tensor_value_str) # pylint: disable=eval-used
587 self._node_stepper.override_tensor(tensor_name, tensor_value)
594 tensor_value,
/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_data.py130 tensor_value = InconvertibleTensorProto(tensor_proto)
133 tensor_value = tensor_util.MakeNdarray(tensor_proto)
135 tensor_value = InconvertibleTensorProto(tensor_proto)
138 tensor_value = InconvertibleTensorProto(tensor_proto, False)
140 return tensor_value
Dgrpc_debug_test_server.py154 tensor_value = debug_data.load_tensor_from_event(event)
156 tensor_value)
/external/tensorflow/tensorflow/python/tools/
Doptimize_for_inference_lib.py193 tensor_value = tensor_util.MakeNdarray(input_tensor)
194 return tensor_value
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dkernel_and_device.cc341 for (const TensorValue& tensor_value : inputs) { in Run() local
342 input_vector.push_back(*tensor_value.tensor); in Run()
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.profiler.-graph-node-proto.pbtxt12 name: "tensor_value"
/external/tensorflow/tensorflow/core/profiler/g3doc/
Dcommand_line.md151 # [bytes|micros|params|float_ops|occurrence|tensor_value|device|op_types]
210 tfprof> scope -show_name_regexes unit_1_0.*gamma -select tensor_value -max_depth 5
Doptions.md119 …ytes|micros|accelerator_micros|cpu_micros|params|float_ops|occurrence|tensor_value|device|op_types…
/external/tensorflow/tensorflow/core/profiler/
Dtfprof_output.proto22 TFProfTensorProto tensor_value = 15; field
/external/tensorflow/tensorflow/python/data/kernel_tests/
Dmap_test.py875 tensor_value = attr_value_pb2.AttrValue()
876 tensor_value.tensor.CopyFrom(
886 "value": tensor_value,
/external/tensorflow/tensorflow/python/ops/
Drnn_cell_impl.py1270 tensor_value = ops.convert_to_tensor(v)
1271 const_value = tensor_util.constant_value(tensor_value)
1272 return (tensor_value, const_value)
/external/tensorflow/tensorflow/lite/python/
Dop_hint.py377 tensor_value = _ops.convert_to_tensor(value)
380 tensor=tensor_value.op.node_def.attr["value"].tensor))