You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: tensor_from_datum.rs
    path of file: ./repos/tract/data/benches
    
    the code of the file until where you have to start completion: #[macro_use]
extern crate criterion;
extern crate tract_data;

use criterion::Criterion;
use tract_data::internal::*;

fn rank_4(c: &mut Criterion) {
    c.bench_function("rank_4", |b| {
        b.iter
    
fn rank_4(c: &mut Criterion) {
    c.bench_function("rank_4", |b| {
        b.iter_with_setup(
            || {
                tract_ndarray::Array4::from_shape_simple_fn((256, 35, 35, 1), || 1.0f32)
                    .permuted_axes([3, 2, 1, 0])
            },
            Tensor::from,
        );
    });
}