INNER CODE UNIT · Rust

TfLiteInterpreterGetOutputTensor

SitinCloud/Owlyshield · owlyshield_predict/moonfire-tflite/src/lib.rs:84

    fn TfLiteInterpreterGetOutputTensor(
        interpreter: *const TfLiteInterpreter,
        output_index: i32,
    ) -> *const Tensor;

    fn TfLiteTensorType(tensor: *const Tensor) -> Type;
    fn TfLiteTensorNumDims(tensor: *const Tensor) -> i32;
    fn TfLiteTensorDim(tensor: *const Tensor, dim_index: i32) -> i32;
    fn TfLiteTensorByteSize(tensor: *const Tensor) -> usize;
    fn TfLiteTensorData(tensor: *const Tensor) -> *mut u8;
    fn TfLiteTensorName(tensor: *const Tensor) -> *const c_char;
    fn TfLiteInterpreterResizeInputTensor(
        interpreter: *const TfLiteInterpreter,
        input_index: usize,
        input_data: *const c_void,
        input_data_size: usize,
    ) -> TfLiteStatus;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…