use core::ptr::NonNull;
use objc2::__framework_prelude::*;
use crate::*;
extern_class!(
#[unsafe(super(MLCLayer, NSObject))]
#[derive(Debug, PartialEq, Eq, Hash)]
#[cfg(feature = "MLCLayer")]
#[deprecated]
pub struct MLCSoftmaxLayer;
);
#[cfg(feature = "MLCLayer")]
extern_conformance!(
unsafe impl NSObjectProtocol for MLCSoftmaxLayer {}
);
#[cfg(feature = "MLCLayer")]
impl MLCSoftmaxLayer {
extern_methods!(
#[cfg(feature = "MLCTypes")]
#[deprecated]
#[unsafe(method(operation))]
#[unsafe(method_family = none)]
pub unsafe fn operation(&self) -> MLCSoftmaxOperation;
#[deprecated]
#[unsafe(method(dimension))]
#[unsafe(method_family = none)]
pub unsafe fn dimension(&self) -> NSUInteger;
#[cfg(feature = "MLCTypes")]
#[deprecated]
#[unsafe(method(layerWithOperation:))]
#[unsafe(method_family = none)]
pub unsafe fn layerWithOperation(operation: MLCSoftmaxOperation) -> Retained<Self>;
#[cfg(feature = "MLCTypes")]
#[deprecated]
#[unsafe(method(layerWithOperation:dimension:))]
#[unsafe(method_family = none)]
pub unsafe fn layerWithOperation_dimension(
operation: MLCSoftmaxOperation,
dimension: NSUInteger,
) -> Retained<Self>;
);
}
#[cfg(feature = "MLCLayer")]
impl MLCSoftmaxLayer {
extern_methods!(
#[deprecated]
#[unsafe(method(new))]
#[unsafe(method_family = new)]
pub unsafe fn new() -> Retained<Self>;
#[deprecated]
#[unsafe(method(init))]
#[unsafe(method_family = init)]
pub unsafe fn init(this: Allocated<Self>) -> Retained<Self>;
);
}