dlhdl.Target class
Package:dlhdl
Configure interface to target board for workflow deployment
Description
Use thedlhdl.Target
object to create the interface to deploy thedlhdl.Workflow
object to your target hardware.
Creation
creates a target object that you pass on tohTarget
= dlhdl.Target(小贩
)dlhdl.Workflow
to deploy your deep learning network to your target device.
creates a target object that you pass on tohTarget
= dlhdl.Target(小贩
,Name,Value
)dlhdl.Workflow
, with additional properties specified by one or moreName,Value
pair arguments.
Input Arguments
Properties
Methods
Examples
Create Target Object That Has a JTAG interface
hTarget = dlhdl.Target('Xilinx','界面','JTAG') hTarget = Targetwithproperties:小贩:'Xilinx'Interface: JTAG
Create Target Object That Has an Ethernet Interface and Set IP Address
hTarget = dlhdl.Target('Xilinx','界面','Ethernet',“IPAddress”,'192.168.1.101') hTarget = Targetwithproperties:小贩:'Xilinx'Interface: Ethernet IPAddress:'192.168.1.101'Username:'root'Port: 22
Create Target Object That has a File Interface
hTarget = dlhdl.Target('Xilinx',Interface ='File', Filename ='zcu102socinit')
hTarget = TargetFile with properties: Interface: File Path: './' FileHandle: -1 CR: '←↵' Filename: 'zcu102socinit' IsConnected: 0 hConn: [] Vendor: 'Xilinx'