MCPcopy Create free account
hub / github.com/Yijunmaverick/GenerativeFaceCompletion / array_to_datum

Function array_to_datum

python/caffe/io.py:66–80  ·  view source on GitHub ↗

Converts a 3-dimensional array to datum. If the array has dtype uint8, the output data will be encoded as a string. Otherwise, the output data will be stored in float format.

(arr, label=0)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected