Lines Matching refs:dims
34 def __init__(self, name, dtype, dims):
37 self.dims = dims
51 return "{}: (name: {}, iotype: {}, dtype: {}, dims: {}, used_count: {})".format(self.index,
53 self.dims, self.used_count)
93 dims = [-1,-1,-1,-1]
95 dims[0] = node.attr['shape'].shape.dim[0].size
96 dims[1] = node.attr['shape'].shape.dim[1].size
97 dims[2] = node.attr['shape'].shape.dim[2].size
98 dims[3] = node.attr['shape'].shape.dim[3].size
99 operand = Operand(name, dtype, dims)
450 np.array(operand.dims, dtype=np.uint32).tofile(f)