Shortcuts

Union arrayref_optional_base::storage

Nested Relationships

This union is a nested type of Template Class arrayref_optional_base.

Union Documentation

union c10::arrayref_optional_base::storage
#include <Optional.h>

Public Functions

constexpr storage() noexcept
constexpr void setUninitialized() noexcept
constexpr storage(ArrayRefT &v)
template<typename T>
constexpr storage(const std::initializer_list<T> &v)
template<class ...Args>
constexpr storage(Args&&... args)

Public Members

struct c10::arrayref_optional_base::storage::raw uninitialized_
ArrayRefT value_
struct raw
#include <Optional.h>

Public Members

const void *p = nullptr
size_t sz = 1

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources