IsDevice

Function Usage

This function is used to check whether the TensorBuffer object is on the device side.

Prototype

bool IsDevice() const;

Return Parameter Description

Data Structure

Description

bool

  • true: It is on the device side.
  • false: It is not on the device side.