Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for _C_int (0.11 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

    func.func @testAvgPoolWrongDataType(tensor<1x7x7x16xi32>) -> tensor<1x1x1x16xi32> {
    ^bb0(%arg0: tensor<1x7x7x16xi32>):
      // expected-error @+1 {{must be tensor of floating-point values}}
      %0 = "tf.AvgPool"(%arg0) {T = "tfdtype$DT_INT", data_format = "NHWC", ksize = [1, 7, 7, 1], padding = "VALID", strides = [1, 1, 1, 1]} : (tensor<1x7x7x16xi32>) -> tensor<1x1x1x16xi32>
      func.return %0 : tensor<1x1x1x16xi32>
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
Back to top