Home
last modified time | relevance | path

Searched refs:HasTensor (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dsave_op_test.cc140 EXPECT_TRUE(reader.HasTensor("tensor_bool", &shape, &type)); in TEST_F()
159 EXPECT_TRUE(reader.HasTensor("tensor_int", &shape, &type)); in TEST_F()
178 EXPECT_TRUE(reader.HasTensor("tensor_float", &shape, &type)); in TEST_F()
197 EXPECT_TRUE(reader.HasTensor("tensor_double", &shape, &type)); in TEST_F()
216 EXPECT_TRUE(reader.HasTensor("tensor_qint8", &shape, &type)); in TEST_F()
234 EXPECT_TRUE(reader.HasTensor("tensor_qint32", &shape, &type)); in TEST_F()
252 EXPECT_TRUE(reader.HasTensor("tensor_uint8", &shape, &type)); in TEST_F()
270 EXPECT_TRUE(reader.HasTensor("tensor_int8", &shape, &type)); in TEST_F()
288 EXPECT_TRUE(reader.HasTensor("tensor_int16", &shape, &type)); in TEST_F()
306 EXPECT_TRUE(reader.HasTensor("tensor_int64", &shape, &type)); in TEST_F()
[all …]
Dsave_restore_tensor.cc181 context, reader->HasTensor(tensor_name, &saved_shape, &type), in RestoreTensor()
/external/tensorflow/tensorflow/core/util/
Dtensor_slice_reader_test.cc124 EXPECT_TRUE(reader.HasTensor("test", &shape, &type)); in SimpleFloatHelper()
127 EXPECT_FALSE(reader.HasTensor("don't exist", nullptr, nullptr)); in SimpleFloatHelper()
249 EXPECT_TRUE(reader.HasTensor("test", &shape, &type)); in SimpleIntXHelper()
252 EXPECT_FALSE(reader.HasTensor("don't exist", nullptr, nullptr)); in SimpleIntXHelper()
383 EXPECT_TRUE(reader->HasTensor("test", &shape, &type)); in TEST_SIMPLE_INT()
386 EXPECT_FALSE(reader->HasTensor("don't exist", nullptr, nullptr)); in TEST_SIMPLE_INT()
Dtensor_slice_reader.h84 bool HasTensor(const string& name, TensorShape* shape, DataType* type) const;
Dtensor_slice_reader.cc201 bool TensorSliceReader::HasTensor(const string& name, TensorShape* shape, in HasTensor() function in tensorflow::checkpoint::TensorSliceReader
/external/tensorflow/tensorflow/lite/delegates/flex/
Dbuffer_map_test.cc102 EXPECT_FALSE(buffer_map.HasTensor(0)); in TEST()
111 ASSERT_TRUE(buffer_map.HasTensor(0)); in TEST()
129 ASSERT_TRUE(buffer_map.HasTensor(0)); in TEST()
Dbuffer_map.cc135 bool BufferMap::HasTensor(int tensor_index) const { in HasTensor() function in tflite::flex::BufferMap
140 return HasTensor(tensor_index) && owned_by_tf_.count(tensor_index) > 0; in IsTensorFlowTensor()
Dbuffer_map.h39 bool HasTensor(int tensor_index) const;
Dkernel.cc283 if (!buffer_map->HasTensor(input_index)) { in BuildEagerInputs()
468 if (!buffer_map->HasTensor(tensor_index)) { in Prepare()
541 if (!buffer_map->HasTensor(tensor_index)) { in Eval()
Ddelegate.cc82 if (!buffer_map->HasTensor(buffer_handle)) { in CopyFromBufferHandle()
Dkernel_test.cc84 if (!buffer_map->HasTensor(buffer_handle)) { in ConfigureDelegate()
/external/tensorflow/tensorflow/c/
Dcheckpoint_reader.cc65 bool CheckpointReader::HasTensor(const string& name) const { in HasTensor() function in tensorflow::checkpoint::CheckpointReader
67 return reader_->HasTensor(name, nullptr, nullptr); in HasTensor()
Dcheckpoint_reader.h44 bool HasTensor(const string& name) const;
/external/tensorflow/tensorflow/python/util/
Dpy_checkpoint_reader.i138 %rename("_HasTensor") tensorflow::checkpoint::CheckpointReader::HasTensor;