Shortcuts

Template Struct complex< Half >

Page Contents

Struct Documentation

template<>
struct c10::complex<Half>

Public Types

using value_type = Half

Public Functions

complex() = default
Half real() const
Half imag() const
complex(c10::complex<float> value)
complex(c10::complex<double> value)
operator c10::complex<float>() const

Public Members

Half real_
Half imag_

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