HomeSort by relevance Sort by last modified time
    Searched refs:DataTypeFromString (Results 1 - 11 of 11) sorted by null

  /external/tensorflow/tensorflow/core/framework/
types_test.cc 60 // Test DataTypeFromString reverse conversion
62 EXPECT_TRUE(DataTypeFromString(DataTypeString(dt_e), &dt_e2));
64 EXPECT_TRUE(DataTypeFromString(DataTypeString(dt_e_ref), &dt_e2_ref));
86 TEST(TypesTest, DataTypeFromString) {
88 ASSERT_TRUE(DataTypeFromString("int32", &dt));
90 ASSERT_TRUE(DataTypeFromString("int32_ref", &dt));
92 EXPECT_FALSE(DataTypeFromString("int32_ref_ref", &dt));
93 EXPECT_FALSE(DataTypeFromString("foo", &dt));
94 EXPECT_FALSE(DataTypeFromString("foo_ref", &dt));
95 ASSERT_TRUE(DataTypeFromString("int64", &dt))
    [all...]
types.cc 116 bool DataTypeFromString(StringPiece sp, DataType* dt) {
120 if (DataTypeFromString(sp, &non_ref) && !IsRefType(non_ref)) {
types.h 233 bool DataTypeFromString(StringPiece sp, DataType* dt);
op_def_util.cc 269 VALIDATE(!DataTypeFromString(attr.name(), &dt), "Attr can't have name ",
  /external/tensorflow/tensorflow/core/kernels/hexagon/
hexagon_rewriter_transform.cc 65 CHECK(DataTypeFromString(data_type_string, &data_type))
  /external/tensorflow/tensorflow/tools/graph_transforms/
strip_unused_nodes.cc 44 if (!DataTypeFromString(type_string, result)) {
65 if (!DataTypeFromString(type_string, result)) {
  /external/tensorflow/tensorflow/lite/testing/
generate_testspec.cc 50 CHECK(DataTypeFromString(input_layer_type[i], &type));
tf_driver.cc 120 CHECK(DataTypeFromString(input_layer_type[i], &input_types_[i]));
  /external/tensorflow/tensorflow/core/kernels/
remote_fused_graph_rewriter_transform.cc 122 CHECK(DataTypeFromString(input_types_strs.at(i), &data_type))
  /external/tensorflow/tensorflow/core/graph/
testlib.cc 54 CHECK(DataTypeFromString(type, &dtype));
  /external/tensorflow/tensorflow/tools/benchmark/
benchmark_model.cc 533 CHECK(DataTypeFromString(input_layer_types[n], &input.data_type))

Completed in 3555 milliseconds