init

fun init(generator: (indices: IntArray) -> V): TensorInitializer<T, V>(source)

Initialize tensor with custom function