pub struct Algorithm { /* private fields */ }
Expand description
This is a base class for all more or less complex algorithms in OpenCV
especially for classes of algorithms, for which there can be multiple implementations. The examples are stereo correspondence (for which there are algorithms like block matching, semi-global block matching, graph-cut etc.), background subtraction (which can be done using mixture-of-gaussians models, codebook-based algorithm etc.), optical flow (block matching, Lucas-Kanade, Horn-Schunck etc.).
Here is example of SimpleBlobDetector use in your application via Algorithm interface: Algorithm
Implementations
Trait Implementations
sourceimpl AlgorithmTrait for Algorithm
impl AlgorithmTrait for Algorithm
sourceimpl AlgorithmTraitConst for Algorithm
impl AlgorithmTraitConst for Algorithm
fn as_raw_Algorithm(&self) -> *const c_void
sourcefn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
sourcefn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
simplified API for language bindings Stores algorithm parameters in a file storage Read more
sourcefn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
sourcefn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file. In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs). Read more
sourcefn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier. This string is used as top level xml/yml node tag when the object is saved to a file or string. Read more
sourceimpl Boxed for Algorithm
impl Boxed for Algorithm
sourceimpl From<AccumLayer> for Algorithm
impl From<AccumLayer> for Algorithm
sourcefn from(s: AccumLayer) -> Self
fn from(s: AccumLayer) -> Self
Converts to this type from the input type.
sourceimpl From<AcoshLayer> for Algorithm
impl From<AcoshLayer> for Algorithm
sourcefn from(s: AcoshLayer) -> Self
fn from(s: AcoshLayer) -> Self
Converts to this type from the input type.
sourceimpl From<ActivationLayer> for Algorithm
impl From<ActivationLayer> for Algorithm
sourcefn from(s: ActivationLayer) -> Self
fn from(s: ActivationLayer) -> Self
Converts to this type from the input type.
sourceimpl From<ActivationLayerInt8> for Algorithm
impl From<ActivationLayerInt8> for Algorithm
sourcefn from(s: ActivationLayerInt8) -> Self
fn from(s: ActivationLayerInt8) -> Self
Converts to this type from the input type.
sourceimpl From<AsinhLayer> for Algorithm
impl From<AsinhLayer> for Algorithm
sourcefn from(s: AsinhLayer) -> Self
fn from(s: AsinhLayer) -> Self
Converts to this type from the input type.
sourceimpl From<AtanhLayer> for Algorithm
impl From<AtanhLayer> for Algorithm
sourcefn from(s: AtanhLayer) -> Self
fn from(s: AtanhLayer) -> Self
Converts to this type from the input type.
sourceimpl From<AverageHash> for Algorithm
impl From<AverageHash> for Algorithm
sourcefn from(s: AverageHash) -> Self
fn from(s: AverageHash) -> Self
Converts to this type from the input type.
sourceimpl From<BaseConvolutionLayer> for Algorithm
impl From<BaseConvolutionLayer> for Algorithm
sourcefn from(s: BaseConvolutionLayer) -> Self
fn from(s: BaseConvolutionLayer) -> Self
Converts to this type from the input type.
sourceimpl From<BatchNormLayer> for Algorithm
impl From<BatchNormLayer> for Algorithm
sourcefn from(s: BatchNormLayer) -> Self
fn from(s: BatchNormLayer) -> Self
Converts to this type from the input type.
sourceimpl From<BatchNormLayerInt8> for Algorithm
impl From<BatchNormLayerInt8> for Algorithm
sourcefn from(s: BatchNormLayerInt8) -> Self
fn from(s: BatchNormLayerInt8) -> Self
Converts to this type from the input type.
sourceimpl From<BinaryDescriptor> for Algorithm
impl From<BinaryDescriptor> for Algorithm
sourcefn from(s: BinaryDescriptor) -> Self
fn from(s: BinaryDescriptor) -> Self
Converts to this type from the input type.
sourceimpl From<BinaryDescriptorMatcher> for Algorithm
impl From<BinaryDescriptorMatcher> for Algorithm
sourcefn from(s: BinaryDescriptorMatcher) -> Self
fn from(s: BinaryDescriptorMatcher) -> Self
Converts to this type from the input type.
sourceimpl From<BlankLayer> for Algorithm
impl From<BlankLayer> for Algorithm
sourcefn from(s: BlankLayer) -> Self
fn from(s: BlankLayer) -> Self
Converts to this type from the input type.
sourceimpl From<BlockMeanHash> for Algorithm
impl From<BlockMeanHash> for Algorithm
sourcefn from(s: BlockMeanHash) -> Self
fn from(s: BlockMeanHash) -> Self
Converts to this type from the input type.
sourceimpl From<BriefDescriptorExtractor> for Algorithm
impl From<BriefDescriptorExtractor> for Algorithm
sourcefn from(s: BriefDescriptorExtractor) -> Self
fn from(s: BriefDescriptorExtractor) -> Self
Converts to this type from the input type.
sourceimpl From<ChannelsPReLULayer> for Algorithm
impl From<ChannelsPReLULayer> for Algorithm
sourcefn from(s: ChannelsPReLULayer) -> Self
fn from(s: ChannelsPReLULayer) -> Self
Converts to this type from the input type.
sourceimpl From<ColorMomentHash> for Algorithm
impl From<ColorMomentHash> for Algorithm
sourcefn from(s: ColorMomentHash) -> Self
fn from(s: ColorMomentHash) -> Self
Converts to this type from the input type.
sourceimpl From<CompareLayer> for Algorithm
impl From<CompareLayer> for Algorithm
sourcefn from(s: CompareLayer) -> Self
fn from(s: CompareLayer) -> Self
Converts to this type from the input type.
sourceimpl From<ConcatLayer> for Algorithm
impl From<ConcatLayer> for Algorithm
sourcefn from(s: ConcatLayer) -> Self
fn from(s: ConcatLayer) -> Self
Converts to this type from the input type.
sourceimpl From<ConstLayer> for Algorithm
impl From<ConstLayer> for Algorithm
sourcefn from(s: ConstLayer) -> Self
fn from(s: ConstLayer) -> Self
Converts to this type from the input type.
sourceimpl From<ContourFitting> for Algorithm
impl From<ContourFitting> for Algorithm
sourcefn from(s: ContourFitting) -> Self
fn from(s: ContourFitting) -> Self
Converts to this type from the input type.
sourceimpl From<ConvolutionLayer> for Algorithm
impl From<ConvolutionLayer> for Algorithm
sourcefn from(s: ConvolutionLayer) -> Self
fn from(s: ConvolutionLayer) -> Self
Converts to this type from the input type.
sourceimpl From<ConvolutionLayerInt8> for Algorithm
impl From<ConvolutionLayerInt8> for Algorithm
sourcefn from(s: ConvolutionLayerInt8) -> Self
fn from(s: ConvolutionLayerInt8) -> Self
Converts to this type from the input type.
sourceimpl From<CorrelationLayer> for Algorithm
impl From<CorrelationLayer> for Algorithm
sourcefn from(s: CorrelationLayer) -> Self
fn from(s: CorrelationLayer) -> Self
Converts to this type from the input type.
sourceimpl From<CropAndResizeLayer> for Algorithm
impl From<CropAndResizeLayer> for Algorithm
sourcefn from(s: CropAndResizeLayer) -> Self
fn from(s: CropAndResizeLayer) -> Self
Converts to this type from the input type.
sourceimpl From<CumSumLayer> for Algorithm
impl From<CumSumLayer> for Algorithm
sourcefn from(s: CumSumLayer) -> Self
fn from(s: CumSumLayer) -> Self
Converts to this type from the input type.
sourceimpl From<CustomPattern> for Algorithm
impl From<CustomPattern> for Algorithm
sourcefn from(s: CustomPattern) -> Self
fn from(s: CustomPattern) -> Self
Converts to this type from the input type.
sourceimpl From<DataAugmentationLayer> for Algorithm
impl From<DataAugmentationLayer> for Algorithm
sourcefn from(s: DataAugmentationLayer) -> Self
fn from(s: DataAugmentationLayer) -> Self
Converts to this type from the input type.
sourceimpl From<DeconvolutionLayer> for Algorithm
impl From<DeconvolutionLayer> for Algorithm
sourcefn from(s: DeconvolutionLayer) -> Self
fn from(s: DeconvolutionLayer) -> Self
Converts to this type from the input type.
sourceimpl From<DepthCleaner> for Algorithm
impl From<DepthCleaner> for Algorithm
sourcefn from(s: DepthCleaner) -> Self
fn from(s: DepthCleaner) -> Self
Converts to this type from the input type.
sourceimpl From<DequantizeLayer> for Algorithm
impl From<DequantizeLayer> for Algorithm
sourcefn from(s: DequantizeLayer) -> Self
fn from(s: DequantizeLayer) -> Self
Converts to this type from the input type.
sourceimpl From<DetectionOutputLayer> for Algorithm
impl From<DetectionOutputLayer> for Algorithm
sourcefn from(s: DetectionOutputLayer) -> Self
fn from(s: DetectionOutputLayer) -> Self
Converts to this type from the input type.
sourceimpl From<EltwiseLayer> for Algorithm
impl From<EltwiseLayer> for Algorithm
sourcefn from(s: EltwiseLayer) -> Self
fn from(s: EltwiseLayer) -> Self
Converts to this type from the input type.
sourceimpl From<EltwiseLayerInt8> for Algorithm
impl From<EltwiseLayerInt8> for Algorithm
sourcefn from(s: EltwiseLayerInt8) -> Self
fn from(s: EltwiseLayerInt8) -> Self
Converts to this type from the input type.
sourceimpl From<FastICPOdometry> for Algorithm
impl From<FastICPOdometry> for Algorithm
sourcefn from(s: FastICPOdometry) -> Self
fn from(s: FastICPOdometry) -> Self
Converts to this type from the input type.
sourceimpl From<FlannBasedMatcher> for Algorithm
impl From<FlannBasedMatcher> for Algorithm
sourcefn from(s: FlannBasedMatcher) -> Self
fn from(s: FlannBasedMatcher) -> Self
Converts to this type from the input type.
sourceimpl From<FlattenLayer> for Algorithm
impl From<FlattenLayer> for Algorithm
sourcefn from(s: FlattenLayer) -> Self
fn from(s: FlattenLayer) -> Self
Converts to this type from the input type.
sourceimpl From<FloorLayer> for Algorithm
impl From<FloorLayer> for Algorithm
sourcefn from(s: FloorLayer) -> Self
fn from(s: FloorLayer) -> Self
Converts to this type from the input type.
sourceimpl From<FlowWarpLayer> for Algorithm
impl From<FlowWarpLayer> for Algorithm
sourcefn from(s: FlowWarpLayer) -> Self
fn from(s: FlowWarpLayer) -> Self
Converts to this type from the input type.
sourceimpl From<HardSigmoidLayer> for Algorithm
impl From<HardSigmoidLayer> for Algorithm
sourcefn from(s: HardSigmoidLayer) -> Self
fn from(s: HardSigmoidLayer) -> Self
Converts to this type from the input type.
sourceimpl From<HardSwishLayer> for Algorithm
impl From<HardSwishLayer> for Algorithm
sourcefn from(s: HardSwishLayer) -> Self
fn from(s: HardSwishLayer) -> Self
Converts to this type from the input type.
sourceimpl From<HarrisLaplaceFeatureDetector> for Algorithm
impl From<HarrisLaplaceFeatureDetector> for Algorithm
sourcefn from(s: HarrisLaplaceFeatureDetector) -> Self
fn from(s: HarrisLaplaceFeatureDetector) -> Self
Converts to this type from the input type.
sourceimpl From<ICPOdometry> for Algorithm
impl From<ICPOdometry> for Algorithm
sourcefn from(s: ICPOdometry) -> Self
fn from(s: ICPOdometry) -> Self
Converts to this type from the input type.
sourceimpl From<ImgHashBase> for Algorithm
impl From<ImgHashBase> for Algorithm
sourcefn from(s: ImgHashBase) -> Self
fn from(s: ImgHashBase) -> Self
Converts to this type from the input type.
sourceimpl From<InnerProductLayer> for Algorithm
impl From<InnerProductLayer> for Algorithm
sourcefn from(s: InnerProductLayer) -> Self
fn from(s: InnerProductLayer) -> Self
Converts to this type from the input type.
sourceimpl From<InnerProductLayerInt8> for Algorithm
impl From<InnerProductLayerInt8> for Algorithm
sourcefn from(s: InnerProductLayerInt8) -> Self
fn from(s: InnerProductLayerInt8) -> Self
Converts to this type from the input type.
sourceimpl From<InterpLayer> for Algorithm
impl From<InterpLayer> for Algorithm
sourcefn from(s: InterpLayer) -> Self
fn from(s: InterpLayer) -> Self
Converts to this type from the input type.
sourceimpl From<LSDDetector> for Algorithm
impl From<LSDDetector> for Algorithm
sourcefn from(s: LSDDetector) -> Self
fn from(s: LSDDetector) -> Self
Converts to this type from the input type.
sourceimpl From<MSDDetector> for Algorithm
impl From<MSDDetector> for Algorithm
sourcefn from(s: MSDDetector) -> Self
fn from(s: MSDDetector) -> Self
Converts to this type from the input type.
sourceimpl From<MarrHildrethHash> for Algorithm
impl From<MarrHildrethHash> for Algorithm
sourcefn from(s: MarrHildrethHash) -> Self
fn from(s: MarrHildrethHash) -> Self
Converts to this type from the input type.
sourceimpl From<MaxUnpoolLayer> for Algorithm
impl From<MaxUnpoolLayer> for Algorithm
sourcefn from(s: MaxUnpoolLayer) -> Self
fn from(s: MaxUnpoolLayer) -> Self
Converts to this type from the input type.
sourceimpl From<MotionSaliencyBinWangApr2014> for Algorithm
impl From<MotionSaliencyBinWangApr2014> for Algorithm
sourcefn from(s: MotionSaliencyBinWangApr2014) -> Self
fn from(s: MotionSaliencyBinWangApr2014) -> Self
Converts to this type from the input type.
sourceimpl From<NormalizeBBoxLayer> for Algorithm
impl From<NormalizeBBoxLayer> for Algorithm
sourcefn from(s: NormalizeBBoxLayer) -> Self
fn from(s: NormalizeBBoxLayer) -> Self
Converts to this type from the input type.
sourceimpl From<ObjectnessBING> for Algorithm
impl From<ObjectnessBING> for Algorithm
sourcefn from(s: ObjectnessBING) -> Self
fn from(s: ObjectnessBING) -> Self
Converts to this type from the input type.
sourceimpl From<OpticalFlowPCAFlow> for Algorithm
impl From<OpticalFlowPCAFlow> for Algorithm
sourcefn from(s: OpticalFlowPCAFlow) -> Self
fn from(s: OpticalFlowPCAFlow) -> Self
Converts to this type from the input type.
sourceimpl From<PaddingLayer> for Algorithm
impl From<PaddingLayer> for Algorithm
sourcefn from(s: PaddingLayer) -> Self
fn from(s: PaddingLayer) -> Self
Converts to this type from the input type.
sourceimpl From<PermuteLayer> for Algorithm
impl From<PermuteLayer> for Algorithm
sourcefn from(s: PermuteLayer) -> Self
fn from(s: PermuteLayer) -> Self
Converts to this type from the input type.
sourceimpl From<PoolingLayer> for Algorithm
impl From<PoolingLayer> for Algorithm
sourcefn from(s: PoolingLayer) -> Self
fn from(s: PoolingLayer) -> Self
Converts to this type from the input type.
sourceimpl From<PoolingLayerInt8> for Algorithm
impl From<PoolingLayerInt8> for Algorithm
sourcefn from(s: PoolingLayerInt8) -> Self
fn from(s: PoolingLayerInt8) -> Self
Converts to this type from the input type.
sourceimpl From<PowerLayer> for Algorithm
impl From<PowerLayer> for Algorithm
sourcefn from(s: PowerLayer) -> Self
fn from(s: PowerLayer) -> Self
Converts to this type from the input type.
sourceimpl From<PriorBoxLayer> for Algorithm
impl From<PriorBoxLayer> for Algorithm
sourcefn from(s: PriorBoxLayer) -> Self
fn from(s: PriorBoxLayer) -> Self
Converts to this type from the input type.
sourceimpl From<ProposalLayer> for Algorithm
impl From<ProposalLayer> for Algorithm
sourcefn from(s: ProposalLayer) -> Self
fn from(s: ProposalLayer) -> Self
Converts to this type from the input type.
sourceimpl From<QualityBRISQUE> for Algorithm
impl From<QualityBRISQUE> for Algorithm
sourcefn from(s: QualityBRISQUE) -> Self
fn from(s: QualityBRISQUE) -> Self
Converts to this type from the input type.
sourceimpl From<QualityGMSD> for Algorithm
impl From<QualityGMSD> for Algorithm
sourcefn from(s: QualityGMSD) -> Self
fn from(s: QualityGMSD) -> Self
Converts to this type from the input type.
sourceimpl From<QualityMSE> for Algorithm
impl From<QualityMSE> for Algorithm
sourcefn from(s: QualityMSE) -> Self
fn from(s: QualityMSE) -> Self
Converts to this type from the input type.
sourceimpl From<QualityPSNR> for Algorithm
impl From<QualityPSNR> for Algorithm
sourcefn from(s: QualityPSNR) -> Self
fn from(s: QualityPSNR) -> Self
Converts to this type from the input type.
sourceimpl From<QualitySSIM> for Algorithm
impl From<QualitySSIM> for Algorithm
sourcefn from(s: QualitySSIM) -> Self
fn from(s: QualitySSIM) -> Self
Converts to this type from the input type.
sourceimpl From<QuantizeLayer> for Algorithm
impl From<QuantizeLayer> for Algorithm
sourcefn from(s: QuantizeLayer) -> Self
fn from(s: QuantizeLayer) -> Self
Converts to this type from the input type.
sourceimpl From<RadialVarianceHash> for Algorithm
impl From<RadialVarianceHash> for Algorithm
sourcefn from(s: RadialVarianceHash) -> Self
fn from(s: RadialVarianceHash) -> Self
Converts to this type from the input type.
sourceimpl From<ReLU6Layer> for Algorithm
impl From<ReLU6Layer> for Algorithm
sourcefn from(s: ReLU6Layer) -> Self
fn from(s: ReLU6Layer) -> Self
Converts to this type from the input type.
sourceimpl From<RegionLayer> for Algorithm
impl From<RegionLayer> for Algorithm
sourcefn from(s: RegionLayer) -> Self
fn from(s: RegionLayer) -> Self
Converts to this type from the input type.
sourceimpl From<ReorgLayer> for Algorithm
impl From<ReorgLayer> for Algorithm
sourcefn from(s: ReorgLayer) -> Self
fn from(s: ReorgLayer) -> Self
Converts to this type from the input type.
sourceimpl From<RequantizeLayer> for Algorithm
impl From<RequantizeLayer> for Algorithm
sourcefn from(s: RequantizeLayer) -> Self
fn from(s: RequantizeLayer) -> Self
Converts to this type from the input type.
sourceimpl From<ReshapeLayer> for Algorithm
impl From<ReshapeLayer> for Algorithm
sourcefn from(s: ReshapeLayer) -> Self
fn from(s: ReshapeLayer) -> Self
Converts to this type from the input type.
sourceimpl From<ResizeLayer> for Algorithm
impl From<ResizeLayer> for Algorithm
sourcefn from(s: ResizeLayer) -> Self
fn from(s: ResizeLayer) -> Self
Converts to this type from the input type.
sourceimpl From<RgbdICPOdometry> for Algorithm
impl From<RgbdICPOdometry> for Algorithm
sourcefn from(s: RgbdICPOdometry) -> Self
fn from(s: RgbdICPOdometry) -> Self
Converts to this type from the input type.
sourceimpl From<RgbdNormals> for Algorithm
impl From<RgbdNormals> for Algorithm
sourcefn from(s: RgbdNormals) -> Self
fn from(s: RgbdNormals) -> Self
Converts to this type from the input type.
sourceimpl From<RgbdOdometry> for Algorithm
impl From<RgbdOdometry> for Algorithm
sourcefn from(s: RgbdOdometry) -> Self
fn from(s: RgbdOdometry) -> Self
Converts to this type from the input type.
sourceimpl From<RoundLayer> for Algorithm
impl From<RoundLayer> for Algorithm
sourcefn from(s: RoundLayer) -> Self
fn from(s: RoundLayer) -> Self
Converts to this type from the input type.
sourceimpl From<ScaleLayer> for Algorithm
impl From<ScaleLayer> for Algorithm
sourcefn from(s: ScaleLayer) -> Self
fn from(s: ScaleLayer) -> Self
Converts to this type from the input type.
sourceimpl From<ScaleLayerInt8> for Algorithm
impl From<ScaleLayerInt8> for Algorithm
sourcefn from(s: ScaleLayerInt8) -> Self
fn from(s: ScaleLayerInt8) -> Self
Converts to this type from the input type.
sourceimpl From<ShiftLayer> for Algorithm
impl From<ShiftLayer> for Algorithm
sourcefn from(s: ShiftLayer) -> Self
fn from(s: ShiftLayer) -> Self
Converts to this type from the input type.
sourceimpl From<ShiftLayerInt8> for Algorithm
impl From<ShiftLayerInt8> for Algorithm
sourcefn from(s: ShiftLayerInt8) -> Self
fn from(s: ShiftLayerInt8) -> Self
Converts to this type from the input type.
sourceimpl From<ShuffleChannelLayer> for Algorithm
impl From<ShuffleChannelLayer> for Algorithm
sourcefn from(s: ShuffleChannelLayer) -> Self
fn from(s: ShuffleChannelLayer) -> Self
Converts to this type from the input type.
sourceimpl From<SigmoidLayer> for Algorithm
impl From<SigmoidLayer> for Algorithm
sourcefn from(s: SigmoidLayer) -> Self
fn from(s: SigmoidLayer) -> Self
Converts to this type from the input type.
sourceimpl From<SimpleBlobDetector> for Algorithm
impl From<SimpleBlobDetector> for Algorithm
sourcefn from(s: SimpleBlobDetector) -> Self
fn from(s: SimpleBlobDetector) -> Self
Converts to this type from the input type.
sourceimpl From<SliceLayer> for Algorithm
impl From<SliceLayer> for Algorithm
sourcefn from(s: SliceLayer) -> Self
fn from(s: SliceLayer) -> Self
Converts to this type from the input type.
sourceimpl From<SoftmaxLayer> for Algorithm
impl From<SoftmaxLayer> for Algorithm
sourcefn from(s: SoftmaxLayer) -> Self
fn from(s: SoftmaxLayer) -> Self
Converts to this type from the input type.
sourceimpl From<SoftmaxLayerInt8> for Algorithm
impl From<SoftmaxLayerInt8> for Algorithm
sourcefn from(s: SoftmaxLayerInt8) -> Self
fn from(s: SoftmaxLayerInt8) -> Self
Converts to this type from the input type.
sourceimpl From<SoftplusLayer> for Algorithm
impl From<SoftplusLayer> for Algorithm
sourcefn from(s: SoftplusLayer) -> Self
fn from(s: SoftplusLayer) -> Self
Converts to this type from the input type.
sourceimpl From<SoftsignLayer> for Algorithm
impl From<SoftsignLayer> for Algorithm
sourcefn from(s: SoftsignLayer) -> Self
fn from(s: SoftsignLayer) -> Self
Converts to this type from the input type.
sourceimpl From<SplitLayer> for Algorithm
impl From<SplitLayer> for Algorithm
sourcefn from(s: SplitLayer) -> Self
fn from(s: SplitLayer) -> Self
Converts to this type from the input type.
sourceimpl From<StarDetector> for Algorithm
impl From<StarDetector> for Algorithm
sourcefn from(s: StarDetector) -> Self
fn from(s: StarDetector) -> Self
Converts to this type from the input type.
sourceimpl From<StaticSaliencyFineGrained> for Algorithm
impl From<StaticSaliencyFineGrained> for Algorithm
sourcefn from(s: StaticSaliencyFineGrained) -> Self
fn from(s: StaticSaliencyFineGrained) -> Self
Converts to this type from the input type.
sourceimpl From<StaticSaliencySpectralResidual> for Algorithm
impl From<StaticSaliencySpectralResidual> for Algorithm
sourcefn from(s: StaticSaliencySpectralResidual) -> Self
fn from(s: StaticSaliencySpectralResidual) -> Self
Converts to this type from the input type.
sourceimpl From<SwishLayer> for Algorithm
impl From<SwishLayer> for Algorithm
sourcefn from(s: SwishLayer) -> Self
fn from(s: SwishLayer) -> Self
Converts to this type from the input type.
sourceimpl From<SyntheticSequenceGenerator> for Algorithm
impl From<SyntheticSequenceGenerator> for Algorithm
sourcefn from(s: SyntheticSequenceGenerator) -> Self
fn from(s: SyntheticSequenceGenerator) -> Self
Converts to this type from the input type.
sourceimpl From<ThresholdedReluLayer> for Algorithm
impl From<ThresholdedReluLayer> for Algorithm
sourcefn from(s: ThresholdedReluLayer) -> Self
fn from(s: ThresholdedReluLayer) -> Self
Converts to this type from the input type.
impl Send for Algorithm
Auto Trait Implementations
impl RefUnwindSafe for Algorithm
impl !Sync for Algorithm
impl Unpin for Algorithm
impl UnwindSafe for Algorithm
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