MCPcopy Create free account
hub / github.com/OpenPPL/ppl.nn / Dims2Str

Function Dims2Str

tools/pplnn.py:557–561  ·  view source on GitHub ↗
(dims)

Source from the content-addressed store, hash-verified

555 return item_size * CalcElementCount(dims)
556
557def Dims2Str(dims):
558 ret = ""
559 for i in range(0, len(dims)):
560 ret += " " + str(dims[i])
561 return ret
562
563def PrintInputOutputInfo(runtime):
564 print("----- input info -----")

Callers 1

PrintInputOutputInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected