Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for B1000000 (0.05 sec)

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

      on_value = 1.0
      off_value = 0.0
      axis = -1
    ```
    
    Then output is `[2 x 2 x 3]`:
    ```
    output =
      [
        [1.0, 0.0, 0.0]  // one_hot(0)
        [0.0, 0.0, 1.0]  // one_hot(2)
      ][
        [0.0, 1.0, 0.0]  // one_hot(1)
        [0.0, 0.0, 0.0]  // one_hot(-1)
      ]
    ```
      }];
    
      let arguments = (ins
    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