load

dragon.workspace.load(
  file_path,
  format='pkl'
)[source]

Load tensors from a binary file.

Parameters:
  • file_path (str) – The path of binary file.
  • format ({'pkl', 'caffe'}, optional) – The serializing format.