Struct windows::AI::MachineLearning::TensorBoolean
#[repr(transparent)]pub struct TensorBoolean(_);
Expand description
Required features: "AI_MachineLearning"
Implementations§
§impl TensorBoolean
impl TensorBoolean
pub fn Kind(&self) -> Result<LearningModelFeatureKind>
pub fn CreateReference(&self) -> Result<IMemoryBufferReference>
pub fn CreateReference(&self) -> Result<IMemoryBufferReference>
Required features: "Foundation"
pub fn TensorKind(&self) -> Result<TensorKind>
pub fn Shape(&self) -> Result<IVectorView<i64>>
pub fn Shape(&self) -> Result<IVectorView<i64>>
Required features: "Foundation_Collections"
pub fn GetAsVectorView(&self) -> Result<IVectorView<bool>>
pub fn GetAsVectorView(&self) -> Result<IVectorView<bool>>
Required features: "Foundation_Collections"
pub fn Create() -> Result<TensorBoolean>
pub fn Create2<P0>(shape: P0) -> Result<TensorBoolean>where
P0: TryIntoParam<IIterable<i64>>,
pub fn Create2<P0>(shape: P0) -> Result<TensorBoolean>where P0: TryIntoParam<IIterable<i64>>,
Required features: "Foundation_Collections"
pub fn CreateFromArray<P0>(shape: P0, data: &[bool]) -> Result<TensorBoolean>where
P0: TryIntoParam<IIterable<i64>>,
pub fn CreateFromArray<P0>(shape: P0, data: &[bool]) -> Result<TensorBoolean>where P0: TryIntoParam<IIterable<i64>>,
Required features: "Foundation_Collections"
pub fn CreateFromIterable<P0, P1>(shape: P0, data: P1) -> Result<TensorBoolean>where
P0: TryIntoParam<IIterable<i64>>,
P1: TryIntoParam<IIterable<bool>>,
pub fn CreateFromIterable<P0, P1>(shape: P0, data: P1) -> Result<TensorBoolean>where P0: TryIntoParam<IIterable<i64>>, P1: TryIntoParam<IIterable<bool>>,
Required features: "Foundation_Collections"
pub fn CreateFromShapeArrayAndDataArray( shape: &[i64], data: &[bool] ) -> Result<TensorBoolean>
pub fn CreateFromBuffer<P0>(shape: &[i64], buffer: P0) -> Result<TensorBoolean>where
P0: TryIntoParam<IBuffer>,
pub fn CreateFromBuffer<P0>(shape: &[i64], buffer: P0) -> Result<TensorBoolean>where P0: TryIntoParam<IBuffer>,
Required features: "Storage_Streams"