Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/tpu/kernels/
Dtpu_program_group.cc213 const std::vector<XLA_TpuProgram*>& TpuProgramGroup::tpu_programs() const { in tpu_programs() function in tensorflow::tpu::TpuProgramGroup
224 absl::Span<XLA_TpuProgram* const> tpu_programs) { in set_tpu_programs() argument
225 tpu_programs_.resize(tpu_programs.size()); in set_tpu_programs()
226 for (size_t i = 0; i < tpu_programs.size(); ++i) { in set_tpu_programs()
227 tpu_programs_[i] = tpu_programs[i]; in set_tpu_programs()
315 std::vector<XLA_TpuProgram*> TpuProgramGroup::tpu_programs( in tpu_programs() function in tensorflow::tpu::TpuProgramGroup
317 std::vector<XLA_TpuProgram*> tpu_programs; in tpu_programs() local
318 tpu_programs.reserve(tpu_programs_.size()); in tpu_programs()
321 tpu_programs.push_back(OpsApiFn()->TpuProgram_GetTpuProgramFn( in tpu_programs()
323 CHECK_NE(tpu_programs[i], nullptr); in tpu_programs()
[all …]
Dtpu_program_group.h128 const std::vector<XLA_TpuProgram*>& tpu_programs() const;
129 std::vector<XLA_TpuProgram*> tpu_programs(TpuProgramShardingType type) const;
131 void set_tpu_programs(absl::Span<XLA_TpuProgram* const> tpu_programs);
Dtpu_compilation_cache_external.cc120 tpu_program_group.tpu_programs(TpuProgramShardingType::kSharding)); in InitializeEntry()
128 tpu_program_group.tpu_programs(TpuProgramShardingType::kUnsharding)); in InitializeEntry()
/external/tensorflow/tensorflow/core/tpu/
Dtpu_ops_c_api.h96 XLA_TpuProgram** tpu_programs[], size_t* count, TF_Status* status);
106 XLA_TpuProgram** tpu_programs[], size_t* count, TF_Status* status);