struct TensorflowLite::EdgeTPU::Device

Overview

the file path to and type of Edge TPU device

Defined in:

tensorflow_lite/edge_tpu/device.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(device : LibEdgeTPU::Device) #

[View source]

Instance Method Detail

def path : String #

the path to the device


[View source]
def to_delegate #

creates a delegate object that can be added to with InterpreterOptions#add_delegate


[View source]
def type : Type #

the type of device at the path listed


[View source]