MCPcopy Create free account
hub / github.com/ddkang/zkml / get_inputs

Function get_inputs

python/converter.py:20–24  ·  view source on GitHub ↗
(op: tflite.Operator)

Source from the content-addressed store, hash-verified

18 return inp
19
20def get_inputs(op: tflite.Operator):
21 idxes = handle_numpy_or_literal(op.InputsAsNumpy())
22 idxes = idxes.tolist()
23 idxes = list(filter(lambda x: x != -1, idxes))
24 return idxes
25
26class Converter:
27 def __init__(

Callers 2

_convert_addMethod · 0.85
to_dictMethod · 0.85

Calls 1

handle_numpy_or_literalFunction · 0.85

Tested by

no test coverage detected