MCPcopy Create free account
hub / github.com/apache/arrow / Observe_INT32

Method Observe_INT32

python/pyarrow/src/arrow/python/inference.cc:150–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148 }
149
150 int Observe_INT32(PyArray_Descr* descr, int dtype) {
151 switch (dtype) {
152 _NUMPY_UNIFY_NOOP(INT8);
153 _NUMPY_UNIFY_NOOP(INT16);
154 _NUMPY_UNIFY_PROMOTE(INT32);
155 _NUMPY_UNIFY_PROMOTE(INT64);
156 _NUMPY_UNIFY_NOOP(UINT8);
157 _NUMPY_UNIFY_NOOP(UINT16);
158 _NUMPY_UNIFY_PROMOTE_TO(FLOAT32, FLOAT64);
159 _NUMPY_UNIFY_PROMOTE(FLOAT64);
160 default:
161 return INVALID;
162 }
163 }
164
165 int Observe_INT64(PyArray_Descr* descr, int dtype) {
166 switch (dtype) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected