Home
last modified time | relevance | path

Searched refs:FromBuffer (Results 1 – 18 of 18) sorted by relevance

/external/tensorflow/tensorflow/cc/experimental/base/tests/
Dtensor_test.cc47 Tensor tensor = Tensor::FromBuffer(/*dtype=*/dtype, /*shape=*/{}, in TYPED_TEST()
76 Tensor tensor = Tensor::FromBuffer( in TYPED_TEST()
114 Tensor tensor = Tensor::FromBuffer( in TYPED_TEST()
152 Tensor::FromBuffer(/*dtype=*/TF_INT32, /*shape=*/shape, in TEST()
Dtensorhandle_test.cc62 Tensor::FromBuffer(/*dtype=*/dtype, /*shape=*/{}, in TYPED_TEST()
103 Tensor original_tensor = Tensor::FromBuffer( in TYPED_TEST()
153 Tensor original_tensor = Tensor::FromBuffer( in TYPED_TEST()
/external/pigweed/pw_rpc/
Dpacket_test.cc94 auto result = Packet::FromBuffer(kEncoded); in TEST()
110 EXPECT_EQ(Status::DataLoss(), Packet::FromBuffer(bad_data).status()); in TEST()
128 auto decode_result = Packet::FromBuffer(packet_data); in TEST()
Dpacket.cc23 Result<Packet> Packet::FromBuffer(ConstByteSpan data) { in FromBuffer() function in pw::rpc::internal::Packet
Dclient.cc30 Result<Packet> result = Packet::FromBuffer(data); in ProcessPacket()
Dserver.cc35 Result<Packet> result = Packet::FromBuffer(data); in DecodePacket()
/external/libtextclassifier/native/annotator/
Dmodel-executor.h43 static std::unique_ptr<ModelExecutor> FromBuffer( in FromBuffer() function
79 static std::unique_ptr<TFLiteEmbeddingExecutor> FromBuffer(
Dmodel-executor.cc45 std::unique_ptr<TFLiteEmbeddingExecutor> TFLiteEmbeddingExecutor::FromBuffer( in FromBuffer() function in libtextclassifier3::TFLiteEmbeddingExecutor
50 TfLiteModelExecutor::FromBuffer(model_spec_buffer); in FromBuffer()
Dannotator.cc336 selection_executor_ = ModelExecutor::FromBuffer(model_->selection_model()); in ValidateAndInitialize()
371 ModelExecutor::FromBuffer(model_->classification_model()); in ValidateAndInitialize()
402 embedding_executor_ = TFLiteEmbeddingExecutor::FromBuffer( in ValidateAndInitialize()
/external/tensorflow/tensorflow/cc/experimental/base/public/
Dtensor.h58 static Tensor FromBuffer(TF_DataType dtype, const std::vector<int64_t>& shape,
147 inline Tensor Tensor::FromBuffer(TF_DataType dtype, in FromBuffer() function
/external/pigweed/pw_rpc/public/pw_rpc/internal/
Dpacket.h32 static Result<Packet> FromBuffer(ConstByteSpan data);
/external/libtextclassifier/native/actions/
Dtflite-sensitive-model.cc126 model_executor_(TfLiteModelExecutor::FromBuffer( in TFLiteSensitiveModel()
Dactions-suggestions.cc279 model_executor_ = TfLiteModelExecutor::FromBuffer( in ValidateAndInitialize()
372 embedding_executor_ = TFLiteEmbeddingExecutor::FromBuffer( in ValidateAndInitialize()
/external/libtextclassifier/native/utils/
Dtflite-model-executor.h64 static std::unique_ptr<TfLiteModelExecutor> FromBuffer( in FromBuffer() function
/external/pigweed/pw_rpc/pw_rpc_private/
Dinternal_test_utils.h52 Result<internal::Packet> result = internal::Packet::FromBuffer(sent_data_); in SendAndReleaseBuffer()
/external/pigweed/pw_rpc/nanopb/public/pw_rpc/
Dnanopb_test_method_context.h283 Result<internal::Packet> result = internal::Packet::FromBuffer(buffer); in SendAndReleaseBuffer()
/external/pigweed/pw_rpc/raw/public/pw_rpc/
Draw_test_method_context.h279 Result<internal::Packet> result = internal::Packet::FromBuffer(buffer); in SendAndReleaseBuffer()
/external/llvm-project/clang/unittests/Tooling/
DCompilationDatabaseTest.cpp546 TEST(FixedCompilationDatabase, FromBuffer) { in TEST() argument