Normalize
Normalize(
dim: str ,
norm: str = l2,
)-> None
Scale each slice along a dimension by a norm of that slice.
Methods
| Name | Description |
|---|---|
| check | Refuse a patch which does not carry what the operation needs. |
| derive_meta | Return what the result’s metadata is. |
| fingerprint_at | Return the digest which identifies this operation and its arguments. |
| kernel | Return the data with each slice divided by its norm. |
| model_post_init | Record the version the function was at when this was built. |
| new | Create new instance with some attributed updated. |
| plan_kernel | Return the array function this call is, or None to touch no data. |
| reconcile | Return the metadata the data actually turned out to have. |
| run | Run the operation against a patch. |
| save | Write this task to a file, and return where it was written. |
| to_dict | Return a document which describes this operation. |
| update | Return a new task with some parameters changed. |