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§
source§impl AlgorithmTrait for Algorithm
impl AlgorithmTrait for Algorithm
source§impl AlgorithmTraitConst for Algorithm
impl AlgorithmTraitConst for Algorithm
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>
fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
source§fn 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
source§fn 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).
source§fn 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.
source§impl Boxed for Algorithm
impl Boxed for Algorithm
source§impl From<AccumLayer> for Algorithm
impl From<AccumLayer> for Algorithm
source§fn from(s: AccumLayer) -> Self
fn from(s: AccumLayer) -> Self
Converts to this type from the input type.
source§impl From<AcoshLayer> for Algorithm
impl From<AcoshLayer> for Algorithm
source§fn from(s: AcoshLayer) -> Self
fn from(s: AcoshLayer) -> Self
Converts to this type from the input type.
source§impl From<ActivationLayer> for Algorithm
impl From<ActivationLayer> for Algorithm
source§fn from(s: ActivationLayer) -> Self
fn from(s: ActivationLayer) -> Self
Converts to this type from the input type.
source§impl From<ActivationLayerInt8> for Algorithm
impl From<ActivationLayerInt8> for Algorithm
source§fn from(s: ActivationLayerInt8) -> Self
fn from(s: ActivationLayerInt8) -> Self
Converts to this type from the input type.
source§impl From<ArucoDetector> for Algorithm
impl From<ArucoDetector> for Algorithm
source§fn from(s: ArucoDetector) -> Self
fn from(s: ArucoDetector) -> Self
Converts to this type from the input type.
source§impl From<AsinhLayer> for Algorithm
impl From<AsinhLayer> for Algorithm
source§fn from(s: AsinhLayer) -> Self
fn from(s: AsinhLayer) -> Self
Converts to this type from the input type.
source§impl From<AtanhLayer> for Algorithm
impl From<AtanhLayer> for Algorithm
source§fn from(s: AtanhLayer) -> Self
fn from(s: AtanhLayer) -> Self
Converts to this type from the input type.
source§impl From<AverageHash> for Algorithm
impl From<AverageHash> for Algorithm
source§fn from(s: AverageHash) -> Self
fn from(s: AverageHash) -> Self
Converts to this type from the input type.
source§impl From<BaseConvolutionLayer> for Algorithm
impl From<BaseConvolutionLayer> for Algorithm
source§fn from(s: BaseConvolutionLayer) -> Self
fn from(s: BaseConvolutionLayer) -> Self
Converts to this type from the input type.
source§impl From<BatchNormLayer> for Algorithm
impl From<BatchNormLayer> for Algorithm
source§fn from(s: BatchNormLayer) -> Self
fn from(s: BatchNormLayer) -> Self
Converts to this type from the input type.
source§impl From<BatchNormLayerInt8> for Algorithm
impl From<BatchNormLayerInt8> for Algorithm
source§fn from(s: BatchNormLayerInt8) -> Self
fn from(s: BatchNormLayerInt8) -> Self
Converts to this type from the input type.
source§impl From<BinaryDescriptor> for Algorithm
impl From<BinaryDescriptor> for Algorithm
source§fn from(s: BinaryDescriptor) -> Self
fn from(s: BinaryDescriptor) -> Self
Converts to this type from the input type.
source§impl From<BinaryDescriptorMatcher> for Algorithm
impl From<BinaryDescriptorMatcher> for Algorithm
source§fn from(s: BinaryDescriptorMatcher) -> Self
fn from(s: BinaryDescriptorMatcher) -> Self
Converts to this type from the input type.
source§impl From<BlankLayer> for Algorithm
impl From<BlankLayer> for Algorithm
source§fn from(s: BlankLayer) -> Self
fn from(s: BlankLayer) -> Self
Converts to this type from the input type.
source§impl From<BlockMeanHash> for Algorithm
impl From<BlockMeanHash> for Algorithm
source§fn from(s: BlockMeanHash) -> Self
fn from(s: BlockMeanHash) -> Self
Converts to this type from the input type.
source§impl From<ChannelsPReLULayer> for Algorithm
impl From<ChannelsPReLULayer> for Algorithm
source§fn from(s: ChannelsPReLULayer) -> Self
fn from(s: ChannelsPReLULayer) -> Self
Converts to this type from the input type.
source§impl From<CharucoDetector> for Algorithm
impl From<CharucoDetector> for Algorithm
source§fn from(s: CharucoDetector) -> Self
fn from(s: CharucoDetector) -> Self
Converts to this type from the input type.
source§impl From<ColorMomentHash> for Algorithm
impl From<ColorMomentHash> for Algorithm
source§fn from(s: ColorMomentHash) -> Self
fn from(s: ColorMomentHash) -> Self
Converts to this type from the input type.
source§impl From<CompareLayer> for Algorithm
impl From<CompareLayer> for Algorithm
source§fn from(s: CompareLayer) -> Self
fn from(s: CompareLayer) -> Self
Converts to this type from the input type.
source§impl From<ConcatLayer> for Algorithm
impl From<ConcatLayer> for Algorithm
source§fn from(s: ConcatLayer) -> Self
fn from(s: ConcatLayer) -> Self
Converts to this type from the input type.
source§impl From<ConstLayer> for Algorithm
impl From<ConstLayer> for Algorithm
source§fn from(s: ConstLayer) -> Self
fn from(s: ConstLayer) -> Self
Converts to this type from the input type.
source§impl From<ContourFitting> for Algorithm
impl From<ContourFitting> for Algorithm
source§fn from(s: ContourFitting) -> Self
fn from(s: ContourFitting) -> Self
Converts to this type from the input type.
source§impl From<ConvolutionLayer> for Algorithm
impl From<ConvolutionLayer> for Algorithm
source§fn from(s: ConvolutionLayer) -> Self
fn from(s: ConvolutionLayer) -> Self
Converts to this type from the input type.
source§impl From<ConvolutionLayerInt8> for Algorithm
impl From<ConvolutionLayerInt8> for Algorithm
source§fn from(s: ConvolutionLayerInt8) -> Self
fn from(s: ConvolutionLayerInt8) -> Self
Converts to this type from the input type.
source§impl From<CorrelationLayer> for Algorithm
impl From<CorrelationLayer> for Algorithm
source§fn from(s: CorrelationLayer) -> Self
fn from(s: CorrelationLayer) -> Self
Converts to this type from the input type.
source§impl From<CropAndResizeLayer> for Algorithm
impl From<CropAndResizeLayer> for Algorithm
source§fn from(s: CropAndResizeLayer) -> Self
fn from(s: CropAndResizeLayer) -> Self
Converts to this type from the input type.
source§impl From<CumSumLayer> for Algorithm
impl From<CumSumLayer> for Algorithm
source§fn from(s: CumSumLayer) -> Self
fn from(s: CumSumLayer) -> Self
Converts to this type from the input type.
source§impl From<CustomPattern> for Algorithm
impl From<CustomPattern> for Algorithm
source§fn from(s: CustomPattern) -> Self
fn from(s: CustomPattern) -> Self
Converts to this type from the input type.
source§impl From<DataAugmentationLayer> for Algorithm
impl From<DataAugmentationLayer> for Algorithm
source§fn from(s: DataAugmentationLayer) -> Self
fn from(s: DataAugmentationLayer) -> Self
Converts to this type from the input type.
source§impl From<DeconvolutionLayer> for Algorithm
impl From<DeconvolutionLayer> for Algorithm
source§fn from(s: DeconvolutionLayer) -> Self
fn from(s: DeconvolutionLayer) -> Self
Converts to this type from the input type.
source§impl From<DepthCleaner> for Algorithm
impl From<DepthCleaner> for Algorithm
source§fn from(s: DepthCleaner) -> Self
fn from(s: DepthCleaner) -> Self
Converts to this type from the input type.
source§impl From<DequantizeLayer> for Algorithm
impl From<DequantizeLayer> for Algorithm
source§fn from(s: DequantizeLayer) -> Self
fn from(s: DequantizeLayer) -> Self
Converts to this type from the input type.
source§impl From<DetectionOutputLayer> for Algorithm
impl From<DetectionOutputLayer> for Algorithm
source§fn from(s: DetectionOutputLayer) -> Self
fn from(s: DetectionOutputLayer) -> Self
Converts to this type from the input type.
source§impl From<EltwiseLayer> for Algorithm
impl From<EltwiseLayer> for Algorithm
source§fn from(s: EltwiseLayer) -> Self
fn from(s: EltwiseLayer) -> Self
Converts to this type from the input type.
source§impl From<EltwiseLayerInt8> for Algorithm
impl From<EltwiseLayerInt8> for Algorithm
source§fn from(s: EltwiseLayerInt8) -> Self
fn from(s: EltwiseLayerInt8) -> Self
Converts to this type from the input type.
source§impl From<FastICPOdometry> for Algorithm
impl From<FastICPOdometry> for Algorithm
source§fn from(s: FastICPOdometry) -> Self
fn from(s: FastICPOdometry) -> Self
Converts to this type from the input type.
source§impl From<FlannBasedMatcher> for Algorithm
impl From<FlannBasedMatcher> for Algorithm
source§fn from(s: FlannBasedMatcher) -> Self
fn from(s: FlannBasedMatcher) -> Self
Converts to this type from the input type.
source§impl From<FlattenLayer> for Algorithm
impl From<FlattenLayer> for Algorithm
source§fn from(s: FlattenLayer) -> Self
fn from(s: FlattenLayer) -> Self
Converts to this type from the input type.
source§impl From<FloorLayer> for Algorithm
impl From<FloorLayer> for Algorithm
source§fn from(s: FloorLayer) -> Self
fn from(s: FloorLayer) -> Self
Converts to this type from the input type.
source§impl From<FlowWarpLayer> for Algorithm
impl From<FlowWarpLayer> for Algorithm
source§fn from(s: FlowWarpLayer) -> Self
fn from(s: FlowWarpLayer) -> Self
Converts to this type from the input type.
source§impl From<GatherLayer> for Algorithm
impl From<GatherLayer> for Algorithm
source§fn from(s: GatherLayer) -> Self
fn from(s: GatherLayer) -> Self
Converts to this type from the input type.
source§impl From<HardSigmoidLayer> for Algorithm
impl From<HardSigmoidLayer> for Algorithm
source§fn from(s: HardSigmoidLayer) -> Self
fn from(s: HardSigmoidLayer) -> Self
Converts to this type from the input type.
source§impl From<HardSwishLayer> for Algorithm
impl From<HardSwishLayer> for Algorithm
source§fn from(s: HardSwishLayer) -> Self
fn from(s: HardSwishLayer) -> Self
Converts to this type from the input type.
source§impl From<ICPOdometry> for Algorithm
impl From<ICPOdometry> for Algorithm
source§fn from(s: ICPOdometry) -> Self
fn from(s: ICPOdometry) -> Self
Converts to this type from the input type.
source§impl From<ImgHashBase> for Algorithm
impl From<ImgHashBase> for Algorithm
source§fn from(s: ImgHashBase) -> Self
fn from(s: ImgHashBase) -> Self
Converts to this type from the input type.
source§impl From<InnerProductLayer> for Algorithm
impl From<InnerProductLayer> for Algorithm
source§fn from(s: InnerProductLayer) -> Self
fn from(s: InnerProductLayer) -> Self
Converts to this type from the input type.
source§impl From<InnerProductLayerInt8> for Algorithm
impl From<InnerProductLayerInt8> for Algorithm
source§fn from(s: InnerProductLayerInt8) -> Self
fn from(s: InnerProductLayerInt8) -> Self
Converts to this type from the input type.
source§impl From<InterpLayer> for Algorithm
impl From<InterpLayer> for Algorithm
source§fn from(s: InterpLayer) -> Self
fn from(s: InterpLayer) -> Self
Converts to this type from the input type.
source§impl From<LSDDetector> for Algorithm
impl From<LSDDetector> for Algorithm
source§fn from(s: LSDDetector) -> Self
fn from(s: LSDDetector) -> Self
Converts to this type from the input type.
source§impl From<MarrHildrethHash> for Algorithm
impl From<MarrHildrethHash> for Algorithm
source§fn from(s: MarrHildrethHash) -> Self
fn from(s: MarrHildrethHash) -> Self
Converts to this type from the input type.
source§impl From<MaxUnpoolLayer> for Algorithm
impl From<MaxUnpoolLayer> for Algorithm
source§fn from(s: MaxUnpoolLayer) -> Self
fn from(s: MaxUnpoolLayer) -> Self
Converts to this type from the input type.
source§impl From<MotionSaliencyBinWangApr2014> for Algorithm
impl From<MotionSaliencyBinWangApr2014> for Algorithm
source§fn from(s: MotionSaliencyBinWangApr2014) -> Self
fn from(s: MotionSaliencyBinWangApr2014) -> Self
Converts to this type from the input type.
source§impl From<NaryEltwiseLayer> for Algorithm
impl From<NaryEltwiseLayer> for Algorithm
source§fn from(s: NaryEltwiseLayer) -> Self
fn from(s: NaryEltwiseLayer) -> Self
Converts to this type from the input type.
source§impl From<NormalizeBBoxLayer> for Algorithm
impl From<NormalizeBBoxLayer> for Algorithm
source§fn from(s: NormalizeBBoxLayer) -> Self
fn from(s: NormalizeBBoxLayer) -> Self
Converts to this type from the input type.
source§impl From<ObjectnessBING> for Algorithm
impl From<ObjectnessBING> for Algorithm
source§fn from(s: ObjectnessBING) -> Self
fn from(s: ObjectnessBING) -> Self
Converts to this type from the input type.
source§impl From<OpticalFlowPCAFlow> for Algorithm
impl From<OpticalFlowPCAFlow> for Algorithm
source§fn from(s: OpticalFlowPCAFlow) -> Self
fn from(s: OpticalFlowPCAFlow) -> Self
Converts to this type from the input type.
source§impl From<PaddingLayer> for Algorithm
impl From<PaddingLayer> for Algorithm
source§fn from(s: PaddingLayer) -> Self
fn from(s: PaddingLayer) -> Self
Converts to this type from the input type.
source§impl From<PermuteLayer> for Algorithm
impl From<PermuteLayer> for Algorithm
source§fn from(s: PermuteLayer) -> Self
fn from(s: PermuteLayer) -> Self
Converts to this type from the input type.
source§impl From<PoolingLayer> for Algorithm
impl From<PoolingLayer> for Algorithm
source§fn from(s: PoolingLayer) -> Self
fn from(s: PoolingLayer) -> Self
Converts to this type from the input type.
source§impl From<PoolingLayerInt8> for Algorithm
impl From<PoolingLayerInt8> for Algorithm
source§fn from(s: PoolingLayerInt8) -> Self
fn from(s: PoolingLayerInt8) -> Self
Converts to this type from the input type.
source§impl From<PowerLayer> for Algorithm
impl From<PowerLayer> for Algorithm
source§fn from(s: PowerLayer) -> Self
fn from(s: PowerLayer) -> Self
Converts to this type from the input type.
source§impl From<PriorBoxLayer> for Algorithm
impl From<PriorBoxLayer> for Algorithm
source§fn from(s: PriorBoxLayer) -> Self
fn from(s: PriorBoxLayer) -> Self
Converts to this type from the input type.
source§impl From<ProposalLayer> for Algorithm
impl From<ProposalLayer> for Algorithm
source§fn from(s: ProposalLayer) -> Self
fn from(s: ProposalLayer) -> Self
Converts to this type from the input type.
source§impl From<QualityBRISQUE> for Algorithm
impl From<QualityBRISQUE> for Algorithm
source§fn from(s: QualityBRISQUE) -> Self
fn from(s: QualityBRISQUE) -> Self
Converts to this type from the input type.
source§impl From<QualityGMSD> for Algorithm
impl From<QualityGMSD> for Algorithm
source§fn from(s: QualityGMSD) -> Self
fn from(s: QualityGMSD) -> Self
Converts to this type from the input type.
source§impl From<QualityMSE> for Algorithm
impl From<QualityMSE> for Algorithm
source§fn from(s: QualityMSE) -> Self
fn from(s: QualityMSE) -> Self
Converts to this type from the input type.
source§impl From<QualityPSNR> for Algorithm
impl From<QualityPSNR> for Algorithm
source§fn from(s: QualityPSNR) -> Self
fn from(s: QualityPSNR) -> Self
Converts to this type from the input type.
source§impl From<QualitySSIM> for Algorithm
impl From<QualitySSIM> for Algorithm
source§fn from(s: QualitySSIM) -> Self
fn from(s: QualitySSIM) -> Self
Converts to this type from the input type.
source§impl From<QuantizeLayer> for Algorithm
impl From<QuantizeLayer> for Algorithm
source§fn from(s: QuantizeLayer) -> Self
fn from(s: QuantizeLayer) -> Self
Converts to this type from the input type.
source§impl From<RadialVarianceHash> for Algorithm
impl From<RadialVarianceHash> for Algorithm
source§fn from(s: RadialVarianceHash) -> Self
fn from(s: RadialVarianceHash) -> Self
Converts to this type from the input type.
source§impl From<ReLU6Layer> for Algorithm
impl From<ReLU6Layer> for Algorithm
source§fn from(s: ReLU6Layer) -> Self
fn from(s: ReLU6Layer) -> Self
Converts to this type from the input type.
source§impl From<ReciprocalLayer> for Algorithm
impl From<ReciprocalLayer> for Algorithm
source§fn from(s: ReciprocalLayer) -> Self
fn from(s: ReciprocalLayer) -> Self
Converts to this type from the input type.
source§impl From<ReduceLayer> for Algorithm
impl From<ReduceLayer> for Algorithm
source§fn from(s: ReduceLayer) -> Self
fn from(s: ReduceLayer) -> Self
Converts to this type from the input type.
source§impl From<ReduceLayerInt8> for Algorithm
impl From<ReduceLayerInt8> for Algorithm
source§fn from(s: ReduceLayerInt8) -> Self
fn from(s: ReduceLayerInt8) -> Self
Converts to this type from the input type.
source§impl From<RegionLayer> for Algorithm
impl From<RegionLayer> for Algorithm
source§fn from(s: RegionLayer) -> Self
fn from(s: RegionLayer) -> Self
Converts to this type from the input type.
source§impl From<ReorgLayer> for Algorithm
impl From<ReorgLayer> for Algorithm
source§fn from(s: ReorgLayer) -> Self
fn from(s: ReorgLayer) -> Self
Converts to this type from the input type.
source§impl From<RequantizeLayer> for Algorithm
impl From<RequantizeLayer> for Algorithm
source§fn from(s: RequantizeLayer) -> Self
fn from(s: RequantizeLayer) -> Self
Converts to this type from the input type.
source§impl From<ReshapeLayer> for Algorithm
impl From<ReshapeLayer> for Algorithm
source§fn from(s: ReshapeLayer) -> Self
fn from(s: ReshapeLayer) -> Self
Converts to this type from the input type.
source§impl From<ResizeLayer> for Algorithm
impl From<ResizeLayer> for Algorithm
source§fn from(s: ResizeLayer) -> Self
fn from(s: ResizeLayer) -> Self
Converts to this type from the input type.
source§impl From<RgbdICPOdometry> for Algorithm
impl From<RgbdICPOdometry> for Algorithm
source§fn from(s: RgbdICPOdometry) -> Self
fn from(s: RgbdICPOdometry) -> Self
Converts to this type from the input type.
source§impl From<RgbdNormals> for Algorithm
impl From<RgbdNormals> for Algorithm
source§fn from(s: RgbdNormals) -> Self
fn from(s: RgbdNormals) -> Self
Converts to this type from the input type.
source§impl From<RgbdOdometry> for Algorithm
impl From<RgbdOdometry> for Algorithm
source§fn from(s: RgbdOdometry) -> Self
fn from(s: RgbdOdometry) -> Self
Converts to this type from the input type.
source§impl From<RoundLayer> for Algorithm
impl From<RoundLayer> for Algorithm
source§fn from(s: RoundLayer) -> Self
fn from(s: RoundLayer) -> Self
Converts to this type from the input type.
source§impl From<ScaleLayer> for Algorithm
impl From<ScaleLayer> for Algorithm
source§fn from(s: ScaleLayer) -> Self
fn from(s: ScaleLayer) -> Self
Converts to this type from the input type.
source§impl From<ScaleLayerInt8> for Algorithm
impl From<ScaleLayerInt8> for Algorithm
source§fn from(s: ScaleLayerInt8) -> Self
fn from(s: ScaleLayerInt8) -> Self
Converts to this type from the input type.
source§impl From<ScatterLayer> for Algorithm
impl From<ScatterLayer> for Algorithm
source§fn from(s: ScatterLayer) -> Self
fn from(s: ScatterLayer) -> Self
Converts to this type from the input type.
source§impl From<ScatterNDLayer> for Algorithm
impl From<ScatterNDLayer> for Algorithm
source§fn from(s: ScatterNDLayer) -> Self
fn from(s: ScatterNDLayer) -> Self
Converts to this type from the input type.
source§impl From<ShiftLayer> for Algorithm
impl From<ShiftLayer> for Algorithm
source§fn from(s: ShiftLayer) -> Self
fn from(s: ShiftLayer) -> Self
Converts to this type from the input type.
source§impl From<ShiftLayerInt8> for Algorithm
impl From<ShiftLayerInt8> for Algorithm
source§fn from(s: ShiftLayerInt8) -> Self
fn from(s: ShiftLayerInt8) -> Self
Converts to this type from the input type.
source§impl From<ShrinkLayer> for Algorithm
impl From<ShrinkLayer> for Algorithm
source§fn from(s: ShrinkLayer) -> Self
fn from(s: ShrinkLayer) -> Self
Converts to this type from the input type.
source§impl From<ShuffleChannelLayer> for Algorithm
impl From<ShuffleChannelLayer> for Algorithm
source§fn from(s: ShuffleChannelLayer) -> Self
fn from(s: ShuffleChannelLayer) -> Self
Converts to this type from the input type.
source§impl From<SigmoidLayer> for Algorithm
impl From<SigmoidLayer> for Algorithm
source§fn from(s: SigmoidLayer) -> Self
fn from(s: SigmoidLayer) -> Self
Converts to this type from the input type.
source§impl From<SliceLayer> for Algorithm
impl From<SliceLayer> for Algorithm
source§fn from(s: SliceLayer) -> Self
fn from(s: SliceLayer) -> Self
Converts to this type from the input type.
source§impl From<SoftmaxLayer> for Algorithm
impl From<SoftmaxLayer> for Algorithm
source§fn from(s: SoftmaxLayer) -> Self
fn from(s: SoftmaxLayer) -> Self
Converts to this type from the input type.
source§impl From<SoftmaxLayerInt8> for Algorithm
impl From<SoftmaxLayerInt8> for Algorithm
source§fn from(s: SoftmaxLayerInt8) -> Self
fn from(s: SoftmaxLayerInt8) -> Self
Converts to this type from the input type.
source§impl From<SoftplusLayer> for Algorithm
impl From<SoftplusLayer> for Algorithm
source§fn from(s: SoftplusLayer) -> Self
fn from(s: SoftplusLayer) -> Self
Converts to this type from the input type.
source§impl From<SoftsignLayer> for Algorithm
impl From<SoftsignLayer> for Algorithm
source§fn from(s: SoftsignLayer) -> Self
fn from(s: SoftsignLayer) -> Self
Converts to this type from the input type.
source§impl From<SplitLayer> for Algorithm
impl From<SplitLayer> for Algorithm
source§fn from(s: SplitLayer) -> Self
fn from(s: SplitLayer) -> Self
Converts to this type from the input type.
source§impl From<StaticSaliencyFineGrained> for Algorithm
impl From<StaticSaliencyFineGrained> for Algorithm
source§fn from(s: StaticSaliencyFineGrained) -> Self
fn from(s: StaticSaliencyFineGrained) -> Self
Converts to this type from the input type.
source§impl From<StaticSaliencySpectralResidual> for Algorithm
impl From<StaticSaliencySpectralResidual> for Algorithm
source§fn from(s: StaticSaliencySpectralResidual) -> Self
fn from(s: StaticSaliencySpectralResidual) -> Self
Converts to this type from the input type.
source§impl From<SwishLayer> for Algorithm
impl From<SwishLayer> for Algorithm
source§fn from(s: SwishLayer) -> Self
fn from(s: SwishLayer) -> Self
Converts to this type from the input type.
source§impl From<SyntheticSequenceGenerator> for Algorithm
impl From<SyntheticSequenceGenerator> for Algorithm
source§fn from(s: SyntheticSequenceGenerator) -> Self
fn from(s: SyntheticSequenceGenerator) -> Self
Converts to this type from the input type.
source§impl From<ThresholdedReluLayer> for Algorithm
impl From<ThresholdedReluLayer> for Algorithm
source§fn from(s: ThresholdedReluLayer) -> Self
fn from(s: ThresholdedReluLayer) -> Self
Converts to this type from the input type.