MCPcopy Create free account
hub / github.com/Oneflow-Inc/oneflow / TensorSize_length

Function TensorSize_length

oneflow/api/python/framework/size.cpp:57–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57static Py_ssize_t TensorSize_length(TensorSize* self) {
58 return PyTuple_Type.tp_as_sequence->sq_length((PyObject*)self);
59}
60
61static PyObject* TensorSize_concat(TensorSize* self, PyObject* other) {
62 PyObjectPtr result(PyTuple_Type.tp_as_sequence->sq_concat((PyObject*)self, other));

Callers 1

TensorSize_AsShapeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected