validateFloat32Tensor#

Fully qualified name: isaacsim::physics::newton::tensors::validateFloat32Tensor

inline bool isaacsim::physics::newton::tensors::validateFloat32Tensor(
const TensorDesc *tensor,
int expectedDevice,
size_t expectedElements,
const char *tensorName,
const char *funcName,
)#

Validates that a tensor is non-null, resides on the expected device, is float32, and has an exact total element count. Logs a descriptive error and returns false on any mismatch.