Home
last modified time | relevance | path

Searched refs:tensor_interface (Results 1 – 24 of 24) sorted by relevance

/external/tensorflow/tensorflow/core/runtime_fallback/runtime/
Druntime_fallback_tensor.cc67 AbstractTensorInterface* tensor_interface) { in GetShape() argument
69 int64_t num_dims = tensor_interface->NumDims(); in GetShape()
72 dims.push_back(tensor_interface->Dim(i)); in GetShape()
78 AbstractTensorInterface* tensor_interface, HostContext* host) { in CopyTfStringTensorToStringHostTensor() argument
80 TensorMetadata(DType(DType::String), GetShape(tensor_interface)), host); in CopyTfStringTensorToStringHostTensor()
85 assert(tensor_interface->Type() == DT_STRING); in CopyTfStringTensorToStringHostTensor()
86 const int64_t num_elems = tensor_interface->NumElements(); in CopyTfStringTensorToStringHostTensor()
88 reinterpret_cast<const tensorflow::tstring*>(tensor_interface->Data()); in CopyTfStringTensorToStringHostTensor()
102 OwnedAbstractTensorInterface tensor_interface{ in Print() local
106 int rank = tensor_interface->NumDims(); in Print()
[all …]
Dconversion_function.cc45 OwnedAbstractTensorInterface tensor_interface{ in ConvertRuntimeFallbackTensorToDenseHostTensor() local
51 void* data = tensor_interface->Data(); in ConvertRuntimeFallbackTensorToDenseHostTensor()
52 size_t size = tensor_interface->ByteSize(); in ConvertRuntimeFallbackTensorToDenseHostTensor()
59 [tensor_interface = std::move(tensor_interface)](void*, size_t) {}); in ConvertRuntimeFallbackTensorToDenseHostTensor()
71 OwnedAbstractTensorInterface tensor_interface{ in ConvertRuntimeFallbackTensorToStringHostTensor() local
78 assert(tensor_interface->Type() == DT_STRING); in ConvertRuntimeFallbackTensorToStringHostTensor()
83 CopyTfStringTensorToStringHostTensor(tensor_interface.get(), host_ctx); in ConvertRuntimeFallbackTensorToStringHostTensor()
Druntime_fallback_tensor.h60 AbstractTensorInterface* tensor_interface);
63 AbstractTensorInterface* tensor_interface, tfrt::HostContext* host);
Druntime_fallback_kernels.cc1223 OwnedAbstractTensorInterface tensor_interface{ in ConvertTFTensorHandleToTFRTTensor() local
1229 auto tf_dtype = tensor_interface->Type(); in ConvertTFTensorHandleToTFRTTensor()
1234 CopyTfStringTensorToStringHostTensor(tensor_interface.get(), host); in ConvertTFTensorHandleToTFRTTensor()
1243 GetShape(tensor_interface.get())); in ConvertTFTensorHandleToTFRTTensor()
1246 void* data = tensor_interface->Data(); in ConvertTFTensorHandleToTFRTTensor()
1247 size_t size = tensor_interface->ByteSize(); in ConvertTFTensorHandleToTFRTTensor()
1254 [tensor_interface = std::move(tensor_interface)](void*, size_t) {}); in ConvertTFTensorHandleToTFRTTensor()
DBUILD99 "//tensorflow/c:tensor_interface",
153 "//tensorflow/c:tensor_interface",
/external/eigen/bench/btl/libs/tensors/
Dmain_linear.cpp19 bench<Action_axpy<tensor_interface<REAL_TYPE> > >(MIN_AXPY,MAX_AXPY,NB_POINT); in main()
20 bench<Action_axpby<tensor_interface<REAL_TYPE> > >(MIN_AXPY,MAX_AXPY,NB_POINT); in main()
Dmain_vecmat.cpp18 bench<Action_matrix_vector_product<tensor_interface<REAL_TYPE> > >(MIN_MV,MAX_MV,NB_POINT); in main()
Dmain_matmat.cpp18 bench<Action_matrix_matrix_product<tensor_interface<REAL_TYPE> > >(MIN_MM,MAX_MM,NB_POINT); in main()
Dtensor_interface.hh19 class tensor_interface class
/external/tensorflow/tensorflow/c/experimental/saved_model/core/ops/
DBUILD28 "//tensorflow/c:tensor_interface",
72 "//tensorflow/c:tensor_interface",
97 "//tensorflow/c:tensor_interface",
/external/tensorflow/tensorflow/tools/ci_build/windows/
Dlibtensorflow_gpu.sh73 tensorflow/c/tensor_interface.h \
100 include/tensorflow/c/tensor_interface.h \
Dlibtensorflow_cpu.sh73 tensorflow/c/tensor_interface.h \
100 include/tensorflow/c/tensor_interface.h \
/external/tensorflow/tensorflow/c/experimental/saved_model/core/
DBUILD126 "//tensorflow/c:tensor_interface",
235 "//tensorflow/c:tensor_interface",
290 "//tensorflow/c:tensor_interface",
Dsaved_model_utils.cc226 TensorInterface tensor_interface(std::move(tensor)); in TensorProtoToConstant() local
227 return Constant::Create(ctx, &tensor_interface, output); in TensorProtoToConstant()
/external/tensorflow/tensorflow/c/
DBUILD38 "tensor_interface.h",
82 "tensor_interface.h",
396 name = "tensor_interface",
397 hdrs = ["tensor_interface.h"],
433 ":tensor_interface",
460 ":tensor_interface",
Dc_api.cc358 const auto tensor_interface = in TF_TensorToTensorV1() local
369 string(static_cast<const char*>(tensor_interface->Data()), in TF_TensorToTensorV1()
370 tensor_interface->ByteSize()))) { in TF_TensorToTensorV1()
/external/tensorflow/tensorflow/c/experimental/saved_model/core/revived_types/
DBUILD25 "//tensorflow/c:tensor_interface",
44 "//tensorflow/c:tensor_interface",
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/c/
DBUILD26 "//tensorflow/c:tensor_interface",
/external/tensorflow/tensorflow/c/eager/
DBUILD396 "//tensorflow/c:tensor_interface",
424 "//tensorflow/c:tensor_interface",
442 "//tensorflow/c:tensor_interface",
502 "//tensorflow/c:tensor_interface",
/external/tensorflow/tensorflow/core/function/
DBUILD75 "//tensorflow/c:tensor_interface",
/external/tensorflow/tensorflow/core/tfrt/eager/
DBUILD79 "//tensorflow/c:tensor_interface",
Dc_api_tfrt.cc773 auto* tensor_interface = down_cast<TensorInterface*>(t); in CreateLocalHandle() local
778 if (tensor_interface->IsTfTensor()) { in CreateLocalHandle()
781 tensor_interface->TfTensor())}; in CreateLocalHandle()
803 auto tensor_av = tensor_interface->TensorRef(); in CreateLocalHandle()
/external/tensorflow/tensorflow/python/lib/core/
DBUILD340 "//tensorflow/c:tensor_interface",
/external/tensorflow/tensorflow/core/framework/
DBUILD1134 "tensor_interface.h",