﻿// Most tensor serialization cases are covered by the existing tensor tests. This script
// is for generating tensors to test serialization that aren't already generated by other tests.

// Null tensor values.
[Tensor.From(Range(12)), null]

// Tensor with 0 strides with rank >8, to test stride bitfield serialization.
Tensor.Fill(1, 2, 2, 2, 2, 2, 2, 2, 2, 2)

// Tensor with a combination of 0 and non-zero strides with rank >8, to test stride bitfield serialization.
Tensor.Dot(Tensor.Fill(3,2,2,2,2,2,2), Tensor.From(Range(2*2*2*2*2),2,2,2,2,2))