Skip to content
This repository was archived by the owner on Jul 1, 2025. It is now read-only.

Conversation

artemrakhov-glow
Copy link
Contributor

NFC.
Depth parameter is not coming from ONNX or Caffe2 proto. We set it ourselves, then assert it, verify it, then don't use it in backends. It's essentially odim.c (or filterDims[0] or biasDims[0])

@@ -10,7 +10,7 @@ void CPUConvDKKC8Node::verify() const {
ShapeNHWC odim(getResult().getType()->dims());
auto outSz = calculateConvOutputDims(idim.h, idim.w, getKernel(), getStride(),
getPad());
ShapeNHWC exp(idim.n, outSz.first, outSz.second, getDepth());

This comment was marked as off-topic.

This comment was marked as off-topic.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants