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

Method Observe_INT8

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

Source from the content-addressed store, hash-verified

123 int Observe_BOOL(PyArray_Descr* descr, int dtype) { return INVALID; }
124
125 int Observe_INT8(PyArray_Descr* descr, int dtype) {
126 switch (dtype) {
127 _NUMPY_UNIFY_PROMOTE(INT16);
128 _NUMPY_UNIFY_PROMOTE(INT32);
129 _NUMPY_UNIFY_PROMOTE(INT64);
130 _NUMPY_UNIFY_PROMOTE(FLOAT32);
131 _NUMPY_UNIFY_PROMOTE(FLOAT64);
132 default:
133 return INVALID;
134 }
135 }
136
137 int Observe_INT16(PyArray_Descr* descr, int dtype) {
138 switch (dtype) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected