MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / GetDynamicLoopBounds

Method GetDynamicLoopBounds

tensorflow/compiler/xla/service/cpu/ir_function.cc:61–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61DynamicLoopBounds IrFunction::GetDynamicLoopBounds() {
62 DynamicLoopBounds dynamic_loop_bounds(num_dynamic_loop_bounds_);
63 for (int i = 0; i < num_dynamic_loop_bounds_; ++i) {
64 dynamic_loop_bounds[i].first = GetDynamicLoopBound(i * 2 + 0);
65 dynamic_loop_bounds[i].second = GetDynamicLoopBound(i * 2 + 1);
66 }
67 return dynamic_loop_bounds;
68}
69
70void IrFunction::Initialize(const string& function_name,
71 llvm::Function::LinkageTypes linkage,

Callers 1

EmitTargetElementLoopMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected