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 |
DefaultTensorOptions & | merge (const TensorOptions &options) |
Like TensorOptions, but all fields are guaranteed to be filled.
Definition at line 13 of file DefaultTensorOptions.h.