Struct tensorflow::QInt32 [] [src]

pub struct QInt32(_);

Quantized type for i32.

Trait Implementations

impl Clone for QInt32
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for QInt32
[src]

impl Default for QInt32
[src]

[src]

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

impl Debug for QInt32
[src]

[src]

Formats the value using the given formatter.

impl Eq for QInt32
[src]

impl PartialEq for QInt32
[src]

[src]

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

[src]

This method tests for !=.

impl Ord for QInt32
[src]

[src]

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

1.22.0
[src]

Compares and returns the maximum of two values. Read more

1.22.0
[src]

Compares and returns the minimum of two values. Read more

impl PartialOrd for QInt32
[src]

[src]

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

[src]

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

[src]

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

[src]

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

[src]

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

impl Display for QInt32
[src]

[src]

Formats the value using the given formatter. Read more

impl From<i32> for QInt32
[src]

[src]

Performs the conversion.

impl TensorType for QInt32
[src]

Tensor representation for this type. Normally TensorDataCRepr for types that have the same representation in Rust; or TensorDataNoCRepr for types where the Rust and C representations differ. Read more

[src]

Returns the DataType that corresponds to this type.

[src]

Returns the zero value.

[src]

Returns the one value.

[src]

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

[src]

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

[src]

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

[src]

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