Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for tfdtype$DT_INT32 (0.14 sec)

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

    // -----
    
    // CHECK-LABEL: @const
    func.func @const() -> tensor<2xi32> {
      // CHECK: mhlo.constant dense<0> : tensor<2xi32>
      %0 = "tf.Const"() {device = "", name = "", dtype = "tfdtype$DT_INT32", value = dense<0> : tensor<2xi32>} : () -> (tensor<2xi32>)
      func.return %0: tensor<2xi32>
    }
    
    // -----
    
    // CHECK-LABEL: @const_dynamic_output
    func.func @const_dynamic_output() -> tensor<*xi32> {
    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