MCPcopy Create free account
hub / github.com/apache/singa / GetOutputSampleShape

Method GetOutputSampleShape

include/singa/model/layer.h:84–87  ·  view source on GitHub ↗

Return the shape of the generated Tensor without the batchsize dimension

Source from the content-addressed store, hash-verified

82
83 /// Return the shape of the generated Tensor without the batchsize dimension
84 virtual const Shape GetOutputSampleShape() const {
85 LOG(FATAL) << "Pls override this function";
86 return vector<size_t>{};
87 }
88 /// Return the shape of the k-th generated tensor without the batchsize
89 /// dimension. Used for layers that generate multiple tensors.
90 virtual const Shape GetOutputSampleShape(int k) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected