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 MLCFullyConnectedLayer;
);
#[cfg(feature = "MLCLayer")]
extern_conformance!(
unsafe impl NSObjectProtocol for MLCFullyConnectedLayer {}
);
#[cfg(feature = "MLCLayer")]
impl MLCFullyConnectedLayer {
extern_methods!(
#[cfg(feature = "MLCConvolutionDescriptor")]
#[deprecated]
#[unsafe(method(descriptor))]
#[unsafe(method_family = none)]
pub unsafe fn descriptor(&self) -> Retained<MLCConvolutionDescriptor>;
#[cfg(feature = "MLCTensor")]
#[deprecated]
#[unsafe(method(weights))]
#[unsafe(method_family = none)]
pub unsafe fn weights(&self) -> Retained<MLCTensor>;
#[cfg(feature = "MLCTensor")]
#[deprecated]
#[unsafe(method(biases))]
#[unsafe(method_family = none)]
pub unsafe fn biases(&self) -> Option<Retained<MLCTensor>>;
#[cfg(feature = "MLCTensorParameter")]
#[deprecated]
#[unsafe(method(weightsParameter))]
#[unsafe(method_family = none)]
pub unsafe fn weightsParameter(&self) -> Retained<MLCTensorParameter>;
#[cfg(feature = "MLCTensorParameter")]
#[deprecated]
#[unsafe(method(biasesParameter))]
#[unsafe(method_family = none)]
pub unsafe fn biasesParameter(&self) -> Option<Retained<MLCTensorParameter>>;
#[cfg(all(feature = "MLCConvolutionDescriptor", feature = "MLCTensor"))]
#[deprecated]
#[unsafe(method(layerWithWeights:biases:descriptor:))]
#[unsafe(method_family = none)]
pub unsafe fn layerWithWeights_biases_descriptor(
weights: &MLCTensor,
biases: Option<&MLCTensor>,
descriptor: &MLCConvolutionDescriptor,
) -> Option<Retained<Self>>;
);
}
#[cfg(feature = "MLCLayer")]
impl MLCFullyConnectedLayer {
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>;
);
}