Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Oneflow-Inc/oneflow
/ PyShapeCheck
Function
PyShapeCheck
oneflow/api/python/functional/common.cpp:250–250 ·
view source on GitHub ↗
Shape
Source
from the content-addressed store, hash-verified
248
249
// Shape
250
bool PyShapeCheck(PyObject* obj) { return PyLongSequenceCheck(obj); }
251
252
Shape PyUnpackShape(PyObject* obj) {
253
bool is_tuple = PyTuple_Check(obj);
Callers
nothing calls this directly
Calls
1
PyLongSequenceCheck
Function · 0.85
Tested by
no test coverage detected