Home
last modified time | relevance | path

Searched refs:TensorCord (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dtensor_cord.h32 class TensorCord {
62 TensorCord() : chunks_() {} in TensorCord() function
64 ~TensorCord();
77 TensorCord(absl::string_view view, CordRepReleaser releaser,
87 TensorCord(absl::string_view view, Tensor* tensor) in TensorCord() function
91 TensorCord(absl::string_view view, std::nullptr_t, void* memory) = delete;
92 TensorCord(absl::string_view view, std::nullptr_t) = delete;
94 TensorCord(const TensorCord& other);
96 TensorCord(TensorCord&& other) noexcept;
98 TensorCord& operator=(const TensorCord& other);
[all …]
Dtensor_cord_test.cc34 TensorCord tc; in TEST()
42 TensorCord tc("abc", &DoNothingReleaser, nullptr); in TEST()
51 TensorCord tc("abc", &DoNothingReleaser, nullptr); in TEST()
82 TensorCord tc_copy; in TEST()
85 TensorCord tc(a, thunk, &cleaner); in TEST()
93 tc_copy = TensorCord(); in TEST()
104 TensorCord tc_0("abc", thunk_0, &cleaner_0); in TEST()
105 TensorCord tc_1("cba", thunk_1, &cleaner_1); in TEST()
114 tc_1 = TensorCord(); in TEST()
117 tc_0 = TensorCord(); in TEST()
[all …]
Dtensor_cord.cc24 static_assert(Variant::CanInlineType<TensorCord>(),
27 TensorCord::CordRep::~CordRep() { in ~CordRep()
33 TensorCord::~TensorCord() { Cleanup(); } in ~TensorCord()
35 void TensorCord::Encode(VariantTensorData* data) const { in Encode()
42 bool TensorCord::Decode(VariantTensorData data) { in Decode()
49 TensorBuffer* TensorCord::TensorBufWithRef(Tensor* tensor) { in TensorBufWithRef()
55 void TensorCord::TensorBufReleaser(void* tensor_buffer) { in TensorBufReleaser()
59 void TensorCord::StringReleaser(void* str_ptr) { in StringReleaser()
94 TensorCord::operator string() const { in operator string()
/external/tensorflow/tensorflow/core/framework/
Dtensor.h47 class TensorCord; variable
674 friend class TensorCord; // For access to buf_. variable