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

Method ndims

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

Source from the content-addressed store, hash-verified

310 int64 width() const { return GetDim(spatial_size(), DimIndex::X); }
311 int64 spatial_dim(DimIndex dim) const { return GetDim(spatial_size(), dim); }
312 int ndims() const { return spatial_size().size(); }
313 float value_max() const { return value_max_; }
314 float value_min() const { return value_min_; }
315 DataLayout layout() const { return tensor_.data_layout(); }

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected