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

Function SetDim

tensorflow/stream_executor/dnn.h:81–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81inline void SetDim(absl::Span<int64> data, DimIndex dim, int64 value) {
82 data.rbegin()[static_cast<int64>(dim)] = value;
83}
84
85inline void SetDim(std::vector<int64>* data, DimIndex dim, int64 value) {
86 return SetDim(absl::MakeSpan(*data), dim, value);

Callers 5

BatchDescriptorClass · 0.85
FilterDescriptorClass · 0.85
PoolingDescriptorClass · 0.85
RuntimeShapeMethod · 0.85

Calls 1

rbeginMethod · 0.80

Tested by

no test coverage detected