concepts.dsl.tensor_value#
Data structures and simple shape-related operations for tensor values. Internally, we use torch.Tensor to represent tensor values.
Functions
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | |
| 
 | A value is simple quantizable if it is either quantized, or it has tensor_quantized_values, or it has intrinsically quantized dtypes. | 
| 
 | Alias for  | 
| 
 | |
| 
 | |
| 
 | |
| 
 | Quantize a value into a quantized value using the simple rules. | 
| 
 | Alias for  | 
| 
 | Alias for  | 
| 
 | 
Classes
| A storage for quantized tensors. | |
| A value object with an internal  | |
| A value object with nested lists of Python objects. |