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

Method Observe_INT16

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

Source from the content-addressed store, hash-verified

135 }
136
137 int Observe_INT16(PyArray_Descr* descr, int dtype) {
138 switch (dtype) {
139 _NUMPY_UNIFY_NOOP(INT8);
140 _NUMPY_UNIFY_PROMOTE(INT32);
141 _NUMPY_UNIFY_PROMOTE(INT64);
142 _NUMPY_UNIFY_NOOP(UINT8);
143 _NUMPY_UNIFY_PROMOTE(FLOAT32);
144 _NUMPY_UNIFY_PROMOTE(FLOAT64);
145 default:
146 return INVALID;
147 }
148 }
149
150 int Observe_INT32(PyArray_Descr* descr, int dtype) {
151 switch (dtype) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected