Struct tensorflow::QUInt8[][src]

pub struct QUInt8(_);

Quantized type for u8.

Trait Implementations

impl Clone for QUInt8
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for QUInt8
[src]

impl Default for QUInt8
[src]

Returns the "default value" for a type. Read more

impl Debug for QUInt8
[src]

Formats the value using the given formatter. Read more

impl Eq for QUInt8
[src]

impl PartialEq for QUInt8
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Ord for QUInt8
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl PartialOrd for QUInt8
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Display for QUInt8
[src]

Formats the value using the given formatter. Read more

impl From<u8> for QUInt8
[src]

Performs the conversion.

impl TensorType for QUInt8
[src]

Returns the DataType that corresponds to this type.

Returns the zero value.

Returns the one value.

Return true if the data has the same representation in C and Rust and can be written/read directly. Read more

Unpacks data from C. Returns an error if is_repr_c() is true for this type or some other error occurred. Read more

Returns the number of bytes in the packed representation. If is_repr_c() returns true, this will return 0. Read more

Packs data for sending to C. Returns an error if is_repr_c() returns true for this type or some other error occurred. The size of the buffer must be at least as large as the value returned by packed_size(data). Read more

Auto Trait Implementations

impl Send for QUInt8

impl Sync for QUInt8