Home
last modified time | relevance | path

Searched refs:set_dtype (Results 1 – 25 of 61) sorted by relevance

123

/external/tensorflow/tensorflow/c/experimental/saved_model/core/
Dsaved_variable_loading_test.cc68 saved_variable.set_dtype(dtype); in TEST_P()
84 saved_variable.set_dtype(dtype); in TEST_P()
101 saved_variable.set_dtype(dtype); in TEST_P()
/external/tensorflow/tensorflow/core/kernels/
Dunique_op_test.cc42 tensor_proto.set_dtype(DT_INT32); in GetRandomInt32TensorProto()
55 tensor_proto.set_dtype(DT_INT32); in GetRandomInt32TensorProtoWithRepeat()
116 tensor_proto.set_dtype(DT_STRING); in GetRandomStringsTensorProto()
Dcast_op.cc104 out->set_dtype(dst_dtype_); in Compute()
106 out->set_dtype(external_dst_dtype_); in Compute()
Dremote_fused_graph_execute_op_test.cc149 shape_a.set_dtype(DT_FLOAT); in BuildRemoteFusedGraphExecuteInfo()
156 shape_a_plus_b.set_dtype(DT_FLOAT); in BuildRemoteFusedGraphExecuteInfo()
/external/tensorflow/tensorflow/core/framework/
Dtensor.cc649 set_dtype(type); in Tensor()
656 set_dtype(type); in Tensor()
766 set_dtype(type); in Tensor()
780 set_dtype(type); in Tensor()
870 ret.set_dtype(dtype()); in Slice()
894 ret.set_dtype(dtype()); in SubSlice()
932 set_dtype(proto.dtype()); in FromProto()
947 proto->set_dtype(dtype()); in AsProtoField()
955 proto->set_dtype(dtype()); in AsProtoTensorContent()
1262 description->set_dtype(dtype()); in FillDescription()
Dvariant_op_copy_test.cc176 variant_proto.set_dtype(DT_VARIANT); in TEST()
210 variant_proto.set_dtype(DT_VARIANT); in TEST()
253 variant_proto.set_dtype(DT_VARIANT); in TEST()
Dresource_handle.cc38 dtype_and_shape->set_dtype(dtype_and_shape_pair.dtype); in AsProto()
Dtensor.h661 void set_dtype(DataType t) { shape_.set_data_type(t); } in set_dtype() function
703 set_dtype(dt); in set_shape()
712 set_dtype(other_dtype); in CopyFromInternal()
1030 set_dtype(DataTypeToEnum<T>::value); in Tensor()
/external/tensorflow/tensorflow/core/kernels/hexagon/
Dgraph_transfer_utils.cc74 tensor_shape_type.set_dtype(input.second.dtype()); in BuildRemoteFusedGraphExecuteInfo()
89 tensor_shape_type_proto.set_dtype(tensor_shape_type->first); in BuildRemoteFusedGraphExecuteInfo()
/external/tensorflow/tensorflow/core/grappler/
Dgrappler_item_builder_test.cc223 input.set_dtype(DT_FLOAT); in TEST_F()
233 input.set_dtype(DT_FLOAT); in TEST_F()
264 input.set_dtype(DT_FLOAT); in TEST_F()
290 input.set_dtype(DT_FLOAT); in TEST_F()
/external/tensorflow/tensorflow/core/distributed_runtime/eager/
Dremote_mgr.cc139 out->set_dtype(in->dtype); in SerializeRemoteTensorHandle()
147 dtype_and_shape_proto->set_dtype(dtype_and_shape.dtype); in SerializeRemoteTensorHandle()
/external/tensorflow/tensorflow/core/profiler/internal/
Dtfprof_tensor.cc39 tfprof_tensor_pb_.set_dtype(tensor_->dtype()); in Build()
/external/tensorflow/tensorflow/core/profiler/utils/
Dcost_utils.cc56 tensor_prop.set_dtype(data_type); in GetTensorProperties()
/external/tensorflow/tensorflow/compiler/mlir/lite/utils/
Dconstant_utils.cc51 repr.set_dtype(tensorflow::DT_COMPLEX64); in CreateConstOpWithSingleValue()
/external/tensorflow/tensorflow/lite/toco/
Dexport_tensorflow.cc107 output_tensor->set_dtype(DT_FLOAT); in ExportFloatArray()
128 output_tensor->set_dtype(DT_FLOAT); in ExportFloatArray()
232 tensor->set_dtype(DT_BOOL); in ConvertBoolTensorConst()
256 tensor->set_dtype(DT_INT32); in ConvertIntTensorConst()
280 tensor->set_dtype(DT_INT32); in CreateIntTensorConst()
305 tensor->set_dtype(DT_COMPLEX64); in ConvertComplex64TensorConst()
328 tensor->set_dtype(DT_INT32); in CreateMatrixShapeTensorConst()
346 tensor->set_dtype(DT_INT32); in CreateDummyConcatDimTensorConst()
361 tensor->set_dtype(DT_INT32); in CreateReshapeShapeTensorConst()
751 max_bounds_const_op_tensor->set_dtype(DT_FLOAT); in ConvertRelu1Operator()
[all …]
/external/tensorflow/tensorflow/core/data/
Dcompression_utils.cc52 metadata->set_dtype(component.dtype()); in CompressElement()
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.-variable-scope.pbtxt82 name: "set_dtype"
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dshape_optimizer.cc179 t->set_dtype(dtype); in Optimize()
/external/tensorflow/tensorflow/core/grappler/costs/
Dop_level_cost_estimator_test.cc74 input->set_dtype(DT_FLOAT); in DescribeMatrix()
101 input->set_dtype(dtype); in DescribeArbitraryRankInput()
113 output->set_dtype(dtype); in DescribeArbitraryRankOutput()
171 tensor->set_dtype(DT_FLOAT); in DescribeTensor1D()
183 tensor->set_dtype(DT_FLOAT); in DescribeTensor4D()
196 tensor->set_dtype(DT_FLOAT); in DescribeTensor5D()
401 temp_tensor_proto.set_dtype(dtype); in GetTensorProto()
489 tensor->set_dtype(DT_FLOAT); in DescribeFusedBatchNorm()
495 tensor->set_dtype(DT_FLOAT); in DescribeFusedBatchNorm()
Dutils.cc54 input.set_dtype(DataType::DT_INVALID); in UnknownInput()
190 input.set_dtype(output.dtype()); in FindInputFeatures()
Danalytical_cost_estimator.cc97 output_info->set_dtype(output.dtype()); in AddCostNode()
/external/tensorflow/tensorflow/c/
Dpython_api.cc102 out_shape_and_type->set_dtype(p.dtype); in GetHandleShapeAndType()
/external/tensorflow/tensorflow/cc/ops/
Dconst_op_test.cc106 proto.set_dtype(DT_DOUBLE); in TEST()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_tensor_coding.cc126 skeleton.set_dtype(val.dtype()); in EncodeSkeleton()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dtensor_coding.cc169 tensor_meta->set_dtype(static_cast<DataType>(static_cast<int>(v))); in ParseTensorSubmessage()

123