Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions
c10::DefaultTensorOptions Struct Reference

Like TensorOptions, but all fields are guaranteed to be filled. More...

#include <DefaultTensorOptions.h>

Public Member Functions

caffe2::TypeMeta dtype () const noexcept
 
Device device () const noexcept
 
Layout layout () const noexcept
 
bool requires_grad () const noexcept
 
bool is_variable () const noexcept
 
DefaultTensorOptionsmerge (const TensorOptions &options)
 

Detailed Description

Like TensorOptions, but all fields are guaranteed to be filled.

Definition at line 13 of file DefaultTensorOptions.h.


The documentation for this struct was generated from the following file: