TensorStore
tensorstore::BFloat16::operator=[integer]
Initializing search
    tensorstore
    tensorstore
      • Tutorial
      • Indexing
      • API reference
      • API reference
        • Core
        • Indexing
        • Data types
          • CBFloat16
            • Constructors
            • Conversion operators
            • Assignment operators
              • Foperator= [float]
              • Foperator= [bool]
              • Foperator= [integer]
            • Arithmetic operators
            • Classification functions
            • Floating-point manipulation functions
            • Basic operations
            • Exponential functions
            • Power functions
            • Trigonometric functions
            • Hyperbolic functions
            • Rounding functions
          • TFloat8e3m4
          • CInt2Padded
          • CInt4Padded
          • Tbool_t
          • Tchar_t
          • Tbyte_t
          • Tint2_t
          • Tint4_t
          • Tint8_t
          • Tuint8_t
          • Tint16_t
          • Tuint16_t
          • Tint32_t
          • Tuint32_t
          • Tint64_t
          • Tuint64_t
          • Tfloat8_e3m4_t
          • Tfloat8_e4m3fn_t
          • Tfloat8_e4m3fnuz_t
          • Tfloat8_e4m3b11fnuz_t
          • Tfloat8_e5m2_t
          • Tfloat8_e5m2fnuz_t
          • Tbfloat16_t
          • Tfloat16_t
          • Tfloat32_t
          • Tfloat64_t
          • Tcomplex64_t
          • Tcomplex128_t
          • Tstring_t
          • Tustring_t
          • Tjson_t
          • CDataType
        • Array
        • Key-value storage
        • Downsampling
        • Utilities
      • Building and Installing
      • Environment variables
      • JSON Spec
      • Index space
      • Schema
      • Context framework
      • Drivers
      • Key-Value Storage Layer
    #include "tensorstore/util/bfloat16.h"
    template <typename T>
      
    requires std::numeric_limits<T>::is_integer
    BFloat16& tensorstore::BFloat16::operator=(T v);

    Possibly lossy conversion from any integer type.

    Back to top
    Previous tensorstore::BFloat16::operator=[bool]
    Next tensorstore::BFloat16::operator+[binary]