MCPcopy Create free account
hub / github.com/Evolving-AI-Lab/fooling / array_to_datum

Function array_to_datum

caffe/python/test.py:145–159  ·  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