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

Method add_parameters

tensorflow/compiler/xla/shape.h:277–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275 const Shape& parameters(int index) const { return parameters_.at(index); }
276 Shape* mutable_parameters(int index) { return &parameters_.at(index); }
277 Shape* add_parameters() {
278 parameters_.emplace_back();
279 return &parameters_.back();
280 }
281 void clear_parameters() { parameters_.clear(); }
282 const std::vector<Shape>& parameters() const { return parameters_; }
283 std::vector<Shape>* mutable_parameters() { return &parameters_; }

Callers 12

AddProgramMethod · 0.80
FinalizeMethod · 0.80
CompileMethod · 0.80
TESTFunction · 0.80
TEST_FFunction · 0.80
MakeProgramShapeMethod · 0.80
ToProtoMethod · 0.80
GetProgramShapeMethod · 0.80
PYBIND11_MODULEFunction · 0.80
ComputeProgramShapeMethod · 0.80
ComputeProgramShapeMethod · 0.80

Calls 2

emplace_backMethod · 0.45
backMethod · 0.45

Tested by 3

TESTFunction · 0.64
TEST_FFunction · 0.64