Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for 0235 (0.1 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    ```
    # 't' is a tensor of shape [2]
    shape(expand_dims(t, 0)) ==> [1, 2]
    shape(expand_dims(t, 1)) ==> [2, 1]
    shape(expand_dims(t, -1)) ==> [2, 1]
    
    # 't2' is a tensor of shape [2, 3, 5]
    shape(expand_dims(t2, 0)) ==> [1, 2, 3, 5]
    shape(expand_dims(t2, 2)) ==> [2, 3, 1, 5]
    shape(expand_dims(t2, 3)) ==> [2, 3, 5, 1]
    ```
    
    This operation requires that:
    
    `-1-input.dims() <= dim <= input.dims()`
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top