Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for 1x2xi64 (0.12 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/passes/clustering_passes.td

            }) : () -> tensor<f32>
            "tf_device.cluster"() ({
              %group = "tf.Const"() <{value = dense<[[0, 1]]> : tensor<1x2xi32>}> : () -> tensor<1x2xi32>
              %arg1_reduced = "tf.XlaAllReduce"(%arg1_id, %group) <{mode = "CrossReplica", reduce_op = "Add"}> : (tensor<f32>, tensor<1x2xi32>) -> tensor<f32>
              "tf.OpA"(%arg1_reduced) : (tensor<f32>) -> ()
              tf_device.return
            }) : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tpu_sharding_identification.mlir

      } : (tensor<2x7xi64>) -> (tensor<2x7xi32>)
      %1 = "tf.Identity"(%0) : (tensor<2x7xi32>) -> tensor<2x7xi32>
      func.return %1 : tensor<2x7xi32>
    }
    
    // CHECK-LABEL: func @func
    // CHECK-SAME: %arg0: tensor<2x7xi64> {mhlo.sharding = "\08\03\1A\03\01\01\02\22\02\00\01B\01\00"
    func.func @func(%arg0: tensor<2x7xi64>) -> (tensor<2x7xi32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 19:07:52 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

      func.func @main() -> () {
        %cst0 = "tf.Const"(){ value = dense<0> : tensor<3x5xi1>} : () -> tensor<3x5xi1>
        %0 = "tf.Where"(%cst0) : (tensor<3x5xi1>) -> tensor<?x2xi64>
        func.return
      }
    })";
    
    absl::StatusOr<XlaCompiler::CompilationResult> CompileMlirModule(
        const char* mlir_module_str,
        ConfigProto::Experimental::MlirBridgeRollout rollout_state) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/defer_activation_transpose.mlir

          stablehlo.return %3 : tensor<f32>
      }) {
        window_dimensions = array<i64: 1, 1, 2, 2>,
        window_strides = array<i64: 1, 1, 2, 2>,
        padding = dense<[[0, 0], [0, 0], [1, 1], [1, 1]]> : tensor<4x2xi64>
      } : (tensor<1x4x16x16xf32>, tensor<f32>) -> tensor<1x4x9x9xf32>
      return %2 : tensor<1x4x9x9xf32>
    }
    // CHECK-SAME: %[[ARG:.+]]: tensor<1x16x16x4xf32>
    // CHECK-DAG: stablehlo.constant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 20:32:46 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/canonicalize.mlir

    func.func @reshape_vector_shape(tensor<4x4x4xf32>) -> tensor<16x4xf32> {
    ^bb0(%arg0: tensor<4x4x4xf32>) :
      %shape0 = arith.constant dense<[[16, 4]]> : tensor<1x2xi32>
      // expected-error @+1 {{'tfl.reshape' op requires 'shape' to be rank 1, but got 2}}
      %1 = "tfl.reshape"(%arg0, %shape0) : (tensor<4x4x4xf32>, tensor<1x2xi32>) -> tensor<16x4xf32>
      func.return %1 : tensor<16x4xf32>
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/stack_ops_decomposition.mlir

      // CHECK-NEXT: %[[UPDATE_SLICE:.*]] = "tf.Reshape"(%[[PUSH_VAL]], %[[UPDATE_SHAPE]]) : (tensor<2xi32>, tensor<2xi32>) -> tensor<1x2xi32>
      // CHECK-NEXT: %[[ZERO_INDS:.*]] = "tf.Const"() <{value = dense<0> : tensor<1xi32>}> : () -> tensor<1xi32>
      // CHECK-NEXT: %[[CONCAT_DIM:.*]] = "tf.Const"() <{value = dense<0> : tensor<i32>}> : () -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/post-quantize.mlir

        %cell_input = "tfl.pseudo_qconst"() {qtype = tensor<1x20x!quant.uniform<i16:f32, 0.006:-34>>, value = dense<1> : tensor<1x20xi6>} : () -> tensor<1x20x!quant.uniform<i16:f32, 0.006:-34>>
        %0 = "tfl.unidirectional_sequence_lstm"(%input,
          %cst_11, %cst_11, %cst_11, %cst_11,
          %cst_3, %cst_3, %cst_3, %cst_3,
          %cst_2, %cst_2, %cst_2,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/quantize.mlir

      func.return %0 : tensor<1x2x!quant.uniform<i8:f32, 0.0078431372549019607:-128>>
    
    // LEGACY:  "tfl.pseudo_qconst"() <{qtype = tensor<1x2x!quant.uniform<i8:f32, 0.0078431372549019607:-128>>, value = dense<{{\[\[}}-1, 127]]> : tensor<1x2xi8>}>
    }
    
    func.func private @testIfThen(tensor<*xf32>) -> tensor<*xf32>
    func.func private @testIfElse(tensor<*xf32>) -> tensor<*xf32>
    
    // CHECK-LABEL: NotQuantizeIf
    func.func @NotQuantizeIf(%arg0: tensor<i1>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:10:13 UTC 2024
    - 39.7K bytes
    - Viewed (0)
Back to top