def METHOD_NAME(
    num_samples,
    batch_size,
    jit_compile=True,
):
    layer_name = "SpatialDropout3D"
    init_args = {
        "rate": 0.5,
    }
    benchmark = LayerBenchmark(
        layer_name,
        init_args,
        input_shape=[32, 32, 32, 3],
        jit_compile=jit_compile,
    )
    benchmark.benchmark_predict(
        num_samples=num_samples,
        batch_size=batch_size,
    )
    benchmark.benchmark_train(
        num_samples=num_samples,
        batch_size=batch_size,
    )