昨日のEdge TPU CompilerがUpdateの続き、
edgetpu.hを覗いてみたら、
NewEdgeTpuContextとOpenDeviceのオプションに、"Usb.AlwaysDfu"と"Usb.MaxBulkInQueueLength"が追加されていました。
// Same as above, but the created context is associated with the given device // type, path and options. // // Available options are: // - "Performance": ["Low", "Medium", "High", "Max"] (Default is "Max") // - "Usb.AlwaysDfu": ["True", "False"] (Default is "False") // - "Usb.MaxBulkInQueueLength": ["0",.., "255"] (Default is "32") virtual std::unique_ptr<EdgeTpuContext> NewEdgeTpuContext( DeviceType device_type, const std::string& device_path, const DeviceOptions& options) = 0;
// Same as above, but the specified options would used to create a new context // if no existing device is compatible with the specified type and path. // // If a device of compatible type and path can be found, the options could be // ignored. It is the caller's responsibility to verify if the returned // context is desirable, through #EdgeTpuContext::GetDeviceOptions(). // // Available options are: // - "Performance": ["Low", "Medium", "High", "Max"] (Default is "Max") // - "Usb.AlwaysDfu": ["True", "False"] (Default is "False") // - "Usb.MaxBulkInQueueLength": ["0",.., "255"] (Default is "32") virtual std::shared_ptr<EdgeTpuContext> OpenDevice( DeviceType device_type, const std::string& device_path, const DeviceOptions& options) = 0;
"Usb.AlwaysDfu"には、"True" or "False" が設定でき、デフォルト値は "False"
"Usb.MaxBulkInQueueLength"には、0~255を設定でき、デフォルト値は 32
"Usb.MaxBulkInQueueLength"には、0~255を設定でき、デフォルト値は 32
この2つって、何を意味するのかな?
また、"Performace"って最初からあるオプションで、"Low", "Medium", "High", "Max"があって、デフォルト値は "Max"
これ、何か、変わるのかな???