Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for shape_add (0.13 sec)

  1. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

    // Shape op legalization.
    //===----------------------------------------------------------------------===//
    
    // -----
    
    // CHECK-LABEL: func @shape_1D
    func.func @shape_1D(%arg0: tensor<?xf32>) -> tensor<1xi32> {
      // CHECK: [[SHAPE:%.+]] = shape.shape_of %arg0
      // CHECK: [[TENSOR:%.+]] = arith.index_cast [[SHAPE]] : tensor<1xindex> to tensor<1xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
Back to top