Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/
Dsave_op_test.cc143 EXPECT_TRUE(reader.HasTensor("tensor_bool", &shape, &type)); in TEST_F()
162 EXPECT_TRUE(reader.HasTensor("tensor_int", &shape, &type)); in TEST_F()
181 EXPECT_TRUE(reader.HasTensor("tensor_float", &shape, &type)); in TEST_F()
200 EXPECT_TRUE(reader.HasTensor("tensor_double", &shape, &type)); in TEST_F()
219 EXPECT_TRUE(reader.HasTensor("tensor_qint8", &shape, &type)); in TEST_F()
237 EXPECT_TRUE(reader.HasTensor("tensor_qint32", &shape, &type)); in TEST_F()
255 EXPECT_TRUE(reader.HasTensor("tensor_uint8", &shape, &type)); in TEST_F()
273 EXPECT_TRUE(reader.HasTensor("tensor_int8", &shape, &type)); in TEST_F()
291 EXPECT_TRUE(reader.HasTensor("tensor_int16", &shape, &type)); in TEST_F()
309 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.cc206 bool TensorSliceReader::HasTensor(const string& name, TensorShape* shape, in HasTensor() function in tensorflow::checkpoint::TensorSliceReader
/external/tensorflow/tensorflow/lite/delegates/coreml/builders/
Dop_builder.cc149 if (!HasTensor(tensor_id)) { in GetTensorID()
161 bool GraphBuilder::HasTensor(int tflite_tensor_index) { in HasTensor() function in tflite::delegates::coreml::GraphBuilder
169 if (!HasTensor(tflite_tensor_index)) return false; in IsTensorUsed()
Dop_builder.h79 bool HasTensor(int tflite_tensor_index);
/external/tensorflow/tensorflow/lite/delegates/flex/
Dbuffer_map_test.cc96 EXPECT_FALSE(buffer_map.HasTensor(0)); in TEST()
105 ASSERT_TRUE(buffer_map.HasTensor(0)); in TEST()
123 ASSERT_TRUE(buffer_map.HasTensor(0)); in TEST()
Dbuffer_map.cc140 bool BufferMap::HasTensor(int tensor_index) const { in HasTensor() function in tflite::flex::BufferMap
145 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()
459 if (!buffer_map->HasTensor(tensor_index)) { in Prepare()
622 if (!buffer_map->HasTensor(tensor_index)) { in Eval()
Ddelegate.cc103 if (!buffer_map->HasTensor(buffer_handle)) { in CopyFromBufferHandle()
/external/tensorflow/tensorflow/c/
Dcheckpoint_reader.cc64 bool CheckpointReader::HasTensor(const string& name) const { in HasTensor() function in tensorflow::checkpoint::CheckpointReader
66 return reader_->HasTensor(name, nullptr, nullptr); in HasTensor()
Dcheckpoint_reader.h44 bool HasTensor(const string& name) const;
Dc_api_experimental.cc359 return reader->HasTensor(name); in TF_CheckpointReaderHasTensor()
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/
Dop_builder.h271 if (!HasTensor(tflite_tensor_index)) { in GetHexagonTensorId()
279 bool HasTensor(int tflite_tensor_index) { in HasTensor() function
319 if (!overwrite && HasTensor(tflite_tensor_id)) {
Dop_builder.cc215 if (!HasTensor(tensor_id)) in AddConstNodeWithData()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Dlstm_parser.cc69 bool HasTensor(const TfLiteNode* node, const int index) { in HasTensor() function
75 return !HasTensor( in HasCifg()
82 return HasTensor( in HasPeephole()
87 return HasTensor( in HasNormalization()
93 return HasTensor(node, in HasProjection()
/external/tensorflow/tensorflow/python/util/
Dpy_checkpoint_reader_wrapper.cc147 .def("_HasTensor", &tensorflow::checkpoint::CheckpointReader::HasTensor) in PYBIND11_MODULE()
/external/tensorflow/tensorflow/tools/def_file_filter/
Dsymbols_pybind.txt126 tensorflow::checkpoint::CheckpointReader::HasTensor