Home
last modified time | relevance | path

Searched refs:DataTypeString (Results 1 – 25 of 154) sorted by relevance

1234567

/external/tensorflow/tensorflow/core/ops/
Dlist_ops.cc38 DataTypeString(element_dtype), in VerifyHandleData()
40 DataTypeString(list_shape_type.dtype)); in VerifyHandleData()
92 DataTypeString(list_shape_type.dtype), in __anonebbd57d80302()
94 DataTypeString(element_dtype)); in __anonebbd57d80302()
139 DataTypeString(list_shape_type.dtype), in __anonebbd57d80402()
141 DataTypeString(element_dtype)); in __anonebbd57d80402()
181 DataTypeString(list_shape_type.dtype), in __anonebbd57d80502()
183 DataTypeString(element_dtype)); in __anonebbd57d80502()
218 DataTypeString(list_shape_type.dtype), " but expectec type ", in __anonebbd57d80602()
219 DataTypeString(element_dtype)); in __anonebbd57d80602()
[all …]
/external/tensorflow/tensorflow/compiler/jit/
Dxla_device_ops.cc41 DataTypeString(dtype_), " and ", in Compute()
42 DataTypeString(context->input(1).dtype()))); in Compute()
66 DataTypeString(variable->tensor()->dtype()), " got ", in Compute()
67 DataTypeString(dtype_))); in Compute()
Dshape_inference.cc126 << DataTypeString(output.handle_type) << " handle_shape " in StoreOutputShapes()
174 "Mismatched resource types: ", DataTypeString(a.handle_type), " vs. ", in MergeInferredShapes()
175 DataTypeString(b.handle_type)); in MergeInferredShapes()
/external/tensorflow/tensorflow/core/kernels/
Dlookup_util.cc245 return errors::InvalidArgument("Data type ", DataTypeString(dtype), in SetValue()
330 "Conflicting key/value dtypes ", DataTypeString(key_dtype), "->", in CheckTableDataTypes()
331 DataTypeString(value_dtype), " with ", in CheckTableDataTypes()
332 DataTypeString(table.key_dtype()), "-", in CheckTableDataTypes()
333 DataTypeString(table.value_dtype()), " for table ", table_name); in CheckTableDataTypes()
346 DataTypeString(table->key_dtype())); in InitializeTableFromTextFile()
354 DataTypeString(table->key_dtype())); in InitializeTableFromTextFile()
359 DataTypeString(table->value_dtype())); in InitializeTableFromTextFile()
364 DataTypeString(table->value_dtype())); in InitializeTableFromTextFile()
Dsave_restore_tensor.cc127 DataTypeString(input.dtype()), in SaveTensors()
187 DataTypeString(context->expected_output_dtype(0)), in RestoreTensor()
188 ", got a tensor of type ", DataTypeString(type), in RestoreTensor()
229 "Restoring data type ", DataTypeString(type), " not yet supported")); in RestoreTensor()
350 DataTypeString(dtypes[i]), " does not equal original dtype ", in RestoreTensorsV2()
351 DataTypeString(original_dtype)); in RestoreTensorsV2()
400 DataTypeString(dtypes[i]), " does not equal restored dtype ", in RestoreTensorsV2()
401 DataTypeString(context->mutable_output(i)->dtype())); in RestoreTensorsV2()
Dscoped_allocator_ops.cc109 DataTypeString(backing_tensor.dtype()), in Compute()
111 DataTypeString(dtype_))); in Compute()
188 DataTypeString(backing_copy.dtype()), in Compute()
190 DataTypeString(dtype_))); in Compute()
202 DataTypeString(copy.dtype()), in Compute()
204 DataTypeString(dtype_))); in Compute()
Dlist_kernels.h96 "Invalid data types; op elements ", DataTypeString(element_dtype_), in Compute()
97 " but list elements ", DataTypeString(tensor_list->element_dtype))); in Compute()
194 DataTypeString(element_dtype_), in Compute()
196 DataTypeString(l->element_dtype))); in Compute()
259 DataTypeString(element_dtype_), in Compute()
261 DataTypeString(l->element_dtype))); in Compute()
326 "Invalid data types; op elements ", DataTypeString(element_dtype_), in Compute()
327 " but list elements ", DataTypeString(tensor_list->element_dtype))); in Compute()
585 "Invalid data types; op elements ", DataTypeString(element_dtype_), in Compute()
586 " but list elements ", DataTypeString(tensor_list->element_dtype))); in Compute()
[all …]
Dstateful_random_ops.cc59 DataTypeString(STATE_ELEMENT_DTYPE), in UpdateVariableAndFill()
61 DataTypeString(var_tensor->dtype())); in UpdateVariableAndFill()
139 DataTypeString(ALGORITHM_DTYPE), ", not ", in Compute()
140 DataTypeString(alg_tensor.dtype()))); in Compute()
176 DataTypeString(dtype_))); in Compute()
Das_string_op.cc56 DataTypeString(dtype))); in AsStringOp()
60 DataTypeString(dtype))); in AsStringOp()
102 DataTypeString(dtype))); in AsStringOp()
160 DataTypeString(dtype))); in Compute()
Dresource_variable_ops.cc150 DataTypeString(dtype_), " got ", DataTypeString(t->dtype()))); in Compute()
200 " with wrong dtype. Expected ", DataTypeString(dtypes_[i]), in Compute()
201 " got ", DataTypeString(variables[i]->tensor()->dtype()))); in Compute()
335 DataTypeString(dtype_), " and ", in Compute()
336 DataTypeString(context->input(1).dtype()))); in Compute()
360 DataTypeString(variable->tensor()->dtype()), " got ", in Compute()
361 DataTypeString(dtype_))); in Compute()
393 DataTypeString(dtype_))); in AssignVariableOp()
430 DataTypeString(variable->tensor()->dtype()), " got ", in Compute()
431 DataTypeString(DT_VARIANT))); in Compute()
[all …]
Dlist_kernels.cc165 DataTypeString(t.dtype())); in TensorShapeFromTensor()
276 DataTypeString(element_dtype_), in Compute()
278 DataTypeString(input.dtype()))); in Compute()
290 DataTypeString(element_dtype_), in Compute()
292 DataTypeString(l->element_dtype))); in Compute()
481 DataTypeString(element_dtype_), in Compute()
483 DataTypeString(l->element_dtype))); in Compute()
577 DataTypeString(l_a->element_dtype), " vs. ", in Compute()
578 DataTypeString(element_dtype_))); in Compute()
582 DataTypeString(l_b->element_dtype), " vs. ", in Compute()
[all …]
Dhost_constant_op.cc38 DataTypeString(tensor_.dtype()), ") and dtype (", in _HostConstantOp()
39 DataTypeString(ctx->output_type(0)), ")")); in _HostConstantOp()
Dfunction_ops.cc50 DataTypeString(val.dtype()), in Compute()
51 " vs. expect ", DataTypeString(dtype_))); in Compute()
64 DataTypeString(val.dtype()), in Compute()
65 " vs. expect ", DataTypeString(dtype_))); in Compute()
165 " do not match: ", DataTypeString(input_type(i)), in PassOn()
166 " vs. ", DataTypeString(output_type(i)))); in PassOn()
Dexample_parsing_ops.cc118 DataTypeString(def_value.dtype()), " != dense_types_[", d, in Compute()
119 "] == ", DataTypeString(attrs_.dense_types[d]))); in Compute()
219 DataTypeString(def_value.dtype()), " != dense_types_[", d, in Compute()
220 "] == ", DataTypeString(attrs_.dense_types[d]))); in Compute()
318 DataTypeString(def_value.dtype()), " != context_dense_types[", in Compute()
319 d, "] == ", DataTypeString(attrs_.context_dense_types[d]))); in Compute()
559 DataTypeString(def_value.dtype()), " != context_dense_types_[", in Compute()
560 d, "] == ", DataTypeString(attrs_.context_dense_types[d]))); in Compute()
648 "Expected type: ", DataTypeString(dtype), in Compute()
677 "Expected type: ", DataTypeString(dtype), in Compute()
[all …]
Ddeserialize_sparse_variant_op.cc290 DataTypeString((*output_shape)->dtype())); in GetAndValidateSparseTensorShape()
316 DataTypeString((*output_indices)->dtype())); in GetAndValidateSparseTensorIndicesAndValues()
347 "Requested SparseTensor of type ", DataTypeString(dtype_), in GetAndValidateSparseTensorIndicesAndValues()
349 "].values.dtype() == ", DataTypeString((*output_values)->dtype())); in GetAndValidateSparseTensorIndicesAndValues()
Dparse_tensor_op.cc57 DataTypeString(output.dtype()), ") and dtype (", in Compute()
58 DataTypeString(out_type_), ")")); in Compute()
Dencode_proto_op.cc344 DataTypeString(dtype)); in WriteField()
366 DataTypeString(dtype)); in WriteField()
384 DataTypeString(dtype)); in WriteField()
413 DataTypeString(dtype)); in WriteField()
431 DataTypeString(dtype)); in WriteField()
449 DataTypeString(dtype)); in WriteField()
529 ". Saw dtype: ", DataTypeString(v.dtype()), in Compute()
/external/tensorflow/tensorflow/core/framework/
Dtypes_test.cc58 EXPECT_EQ(DataTypeString(dt_e) + "_ref", DataTypeString(dt_e_ref)); in TEST()
62 EXPECT_TRUE(DataTypeFromString(DataTypeString(dt_e), &dt_e2)); in TEST()
64 EXPECT_TRUE(DataTypeFromString(DataTypeString(dt_e_ref), &dt_e2_ref)); in TEST()
143 const string name = DataTypeString(dt); in TEST()
/external/tensorflow/tensorflow/core/util/proto/
Ddecode.h389 DataTypeString(dtype)); in ReadValue()
407 DataTypeString(dtype)); in ReadValue()
422 DataTypeString(dtype)); in ReadValue()
445 DataTypeString(dtype)); in ReadValue()
460 DataTypeString(dtype)); in ReadValue()
475 DataTypeString(dtype)); in ReadValue()
509 DataTypeString(dtype)); in ReadPackedFromArray()
531 DataTypeString(dtype)); in ReadPackedFromArray()
549 DataTypeString(dtype)); in ReadPackedFromArray()
572 DataTypeString(dtype)); in ReadPackedFromArray()
[all …]
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_context.cc80 const string type_string = DataTypeString(type); in GetOrCreateMax()
96 const string type_string = DataTypeString(type); in GetOrCreateMin()
112 const string type_string = DataTypeString(type); in GetOrCreateAdd()
128 const string type_string = DataTypeString(type); in GetOrCreateMul()
/external/tensorflow/tensorflow/core/util/
Dtensor_ops_util.h66 DataTypeString(out->dtype())); in ZerosLikeTensor()
85 "One is ", DataTypeString(a.dtype()), " and the other is ", in BinaryAddTensors()
86 DataTypeString(b.dtype())); in BinaryAddTensors()
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dretval_op.cc45 "Type mismatch: actual ", DataTypeString(input.dtype()), in Compile()
46 " vs. expect ", DataTypeString(dtype_))); in Compile()
Darg_op.cc46 "Type mismatch: actual ", DataTypeString(val.dtype()), in Compile()
47 " vs. expect ", DataTypeString(dtype_))); in Compile()
/external/tensorflow/tensorflow/core/kernels/data/experimental/
Dparse_example_dataset_op.cc118 DataTypeString(def_value.dtype()), " != dense_types_[", d, in MakeDataset()
119 "] == ", DataTypeString(dense_types_[d]))); in MakeDataset()
297 << DataTypeString(dataset_->output_dtypes()[output_index]) in MapFunc()
299 << DataTypeString(example_result.dense_values[d].dtype()) in MapFunc()
325 << DataTypeString(dataset_->output_dtypes()[output_index]) in MapFunc()
326 << ", got " << DataTypeString(serialized_sparse.dtype()) in MapFunc()
Dscan_dataset_op.cc198 " (expected ", DataTypeString(dataset()->state_types_[i]), in GetNextInternal()
199 ", got ", DataTypeString(state_and_output[i].dtype()), ")."); in GetNextInternal()
209 DataTypeString(dataset()->state_types_[output_index]), in GetNextInternal()
210 ", got ", DataTypeString(state_and_output[i].dtype()), ")."); in GetNextInternal()

1234567