Home
last modified time | relevance | path

Searched refs:ShouldAllocateEmptyTensors (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/sycl/
Dsycl_allocator.h38 virtual bool ShouldAllocateEmptyTensors() override final { return true; } in ShouldAllocateEmptyTensors() function
/external/tensorflow/tensorflow/core/framework/
Dallocator.h156 virtual bool ShouldAllocateEmptyTensors() { return false; } in ShouldAllocateEmptyTensors() function
315 bool ShouldAllocateEmptyTensors() override { in ShouldAllocateEmptyTensors() function
Dtensor.cc737 if (shape_.num_elements() > 0 || a->ShouldAllocateEmptyTensors()) { in Tensor()
751 if (shape_.num_elements() > 0 || a->ShouldAllocateEmptyTensors()) { in Tensor()
/external/tensorflow/tensorflow/core/common_runtime/
Dscoped_allocator.h107 bool ShouldAllocateEmptyTensors() override { return false; } in ShouldAllocateEmptyTensors() function
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_compilation_device.cc61 bool ShouldAllocateEmptyTensors() override { return true; } in ShouldAllocateEmptyTensors() function in tensorflow::XlaCompilationAllocator