Struct caffe2op_i8quantized::Int8FCOp
source · pub struct Int8FCOp { /* private fields */ }
Expand description
| Computes the result of passing an input | vector | | X into a fully connected layer with 2D | weight matrix W and 1D bias vector b. | | That is, the layer computes Y = X * W^T | + b, where | | X has size (M x K), W has size (N x K), b has | size (N), and Y has size (M x N), where | M is often the batch size. | | ———– | @note | | X does not need to explicitly be a 2D vector; | rather, it will be coerced into one. | | For an arbitrary n-dimensional tensor | X \in [a_0, a_1 * … * a_{n-1}]. | | Only this case is supported! Lastly, | even though b is a 1D vector of size N, | it is copied/resized to be size (M x N) | implicitly and added to each vector | in the batch. | | Each of these dimensions must be matched | correctly, or else the operator will | throw errors. |
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Int8FCOp
impl !Send for Int8FCOp
impl !Sync for Int8FCOp
impl Unpin for Int8FCOp
impl !UnwindSafe for Int8FCOp
Blanket Implementations§
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self
to the equivalent element of its superset.