Struct tensorflow::ops::Bucketize
source · [−]pub struct Bucketize { /* private fields */ }
Expand description
Builder for the Bucketize
operation.
Implementations
sourceimpl Bucketize
impl Bucketize
sourcepub fn boundaries<ArgType: Into<Vec<f32>>>(self, value: ArgType) -> Self
pub fn boundaries<ArgType: Into<Vec<f32>>>(self, value: ArgType) -> Self
Sets the boundaries
attribute.
sourcepub fn add_control_input(self, op: Operation) -> Self
pub fn add_control_input(self, op: Operation) -> Self
Adds a control input.
sourcepub fn build<O0: Into<Output>>(
&self,
input: O0,
scope: &mut Scope
) -> Result<Operation>
pub fn build<O0: Into<Output>>(
&self,
input: O0,
scope: &mut Scope
) -> Result<Operation>
Builds the Bucketize
operation.
sourcepub fn build_instance(
&self,
input: Output,
scope: &mut Scope
) -> Result<BucketizeInst>
pub fn build_instance(
&self,
input: Output,
scope: &mut Scope
) -> Result<BucketizeInst>
Builds a new instance of ‘Bucketize’ Operation with it’s Outputs and Inputs exposed as methods.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Bucketize
impl Send for Bucketize
impl Sync for Bucketize
impl Unpin for Bucketize
impl UnwindSafe for Bucketize
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more