Home
last modified time | relevance | path

Searched refs:ShapeSizeFunction (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/service/
Doptimize_input_output_buffer_alias.h48 using ShapeSizeFunction = std::function<int64(const Shape&)>; variable
51 OptimizeInputOutputBufferAlias(ShapeSizeFunction size_func) in OptimizeInputOutputBufferAlias()
66 ShapeSizeFunction size_func_ = nullptr;
Dhlo_rematerialization.h40 using ShapeSizeFunction = std::function<int64(const Shape&)>;
60 HloRematerialization(const ShapeSizeFunction& size_function, in HloRematerialization()
102 const ShapeSizeFunction size_function_;
Dhlo_cost_analysis.h49 using ShapeSizeFunction = std::function<int64(const Shape&)>; variable
50 explicit HloCostAnalysis(const ShapeSizeFunction& shape_size);
156 HloCostAnalysis(const ShapeSizeFunction& shape_size,
202 const ShapeSizeFunction shape_size_;
Dcompiler.h246 virtual HloCostAnalysis::ShapeSizeFunction ShapeSizeBytesFunction() const = 0;
251 HloCostAnalysis::ShapeSizeFunction shape_size = ShapeSizeBytesFunction(); in BufferSizeBytesFunction()
Dhlo_rematerialization.cc329 const HloRematerialization::ShapeSizeFunction& size_function,
416 const HloRematerialization::ShapeSizeFunction& size_function, in CreateBufferFromLogicalBuffer()
510 const HloRematerialization::ShapeSizeFunction& size_function, in MemoryUsageTracker()
Dhlo_cost_analysis.cc35 HloCostAnalysis::HloCostAnalysis(const ShapeSizeFunction& shape_size) in HloCostAnalysis()
38 HloCostAnalysis::HloCostAnalysis(const ShapeSizeFunction& shape_size, in HloCostAnalysis()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dparallel_task_assignment.h42 const HloCostAnalysis::ShapeSizeFunction& shape_size,
69 const HloCostAnalysis::ShapeSizeFunction& shape_size, in ParallelTaskAssigner()
102 HloCostAnalysis::ShapeSizeFunction shape_size_function_;
Dparallel_task_assignment.cc33 const HloCostAnalysis::ShapeSizeFunction& shape_size) in SimpleCostModel()
48 const HloCostAnalysis::ShapeSizeFunction shape_size_;
54 const HloCostAnalysis::ShapeSizeFunction& shape_size, in DefaultCostModel()
103 const HloCostAnalysis::ShapeSizeFunction shape_size_;
109 const HloCostAnalysis::ShapeSizeFunction& shape_size, HloModule* module, in ParallelTaskAssignment()
Dparallel_task_assignment_test.cc28 const HloCostAnalysis::ShapeSizeFunction shape_size_func_ =
Dcpu_compiler.h150 HloCostAnalysis::ShapeSizeFunction ShapeSizeBytesFunction() const override;
Dcpu_compiler.cc946 HloCostAnalysis::ShapeSizeFunction CpuCompiler::ShapeSizeBytesFunction() const { in ShapeSizeBytesFunction()
/external/tensorflow/tensorflow/compiler/xla/service/interpreter/
Dcompiler.h71 HloCostAnalysis::ShapeSizeFunction ShapeSizeBytesFunction() const override;
Dcompiler.cc184 HloCostAnalysis::ShapeSizeFunction InterpreterCompiler::ShapeSizeBytesFunction() in ShapeSizeBytesFunction()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dnvptx_compiler.h67 HloCostAnalysis::ShapeSizeFunction ShapeSizeBytesFunction() const override { in ShapeSizeBytesFunction()