Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 130 for const1 (0.15 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tensor_array_ops_decomposition.mlir

      // CHECK: %[[CONST1:.*]] = "tf.Const"() <{value = dense<1> : tensor<i32>}> : () -> tensor<i32>
      %const1 = "tf.Const"() {value = dense<1> : tensor<i32>} : () -> tensor<i32>
      // CHECK: %[[SUB:.*]] = "tf.Sub"(%[[BARG1]], %[[CONST1]])
      %sub = "tf.Sub"(%arg1, %const1) : (tensor<i32>, tensor<i32>) -> tensor<i32>
      %elem = "tf._SomeOp"() : () -> tensor<3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 49K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/deadness_analysis_test.cc

      Output const0 = ops::Const(root.WithOpName("const0"), 1);
      Output const1 = ops::Const(root.WithOpName("const1"), 2);
    
      Output add = ops::Add(root.WithOpName("add"), const0, const1);
    
      root.graph()->AddControlEdge(id0.node(), const0.node());
      root.graph()->AddControlEdge(id1.node(), const1.node());
    
      std::unique_ptr<DeadnessAnalysis> result;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

      // done in parallel.
      //
      // This graph is:
      // (Const0, Const0) -> MatMul0
      // (Const1, Const1) -> MatMul1
      // (MatMul0, MatMul1) -> MatMulCombined
      //
      // Device0: [Const0, Const0, MatMul0]
      // Device1: [Const1, Const1, MatMul1, MatMulCombined]
      //
      // Cluster0: [Const0, Const0, MatMul0]
      // Cluster1: [Const1, Const1, MatMul1]
      // Cluster2: [MatMulCombined]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_test.cc

        //        |         |
        //      Const_0    Const_1
        //
        const float const0_val[] = {1.0, 2.0, 3.0, 4.0};
        const float const1_val[] = {1.0, 0.0, 0.0, 1.0};
        TF_Operation* const0 = FloatConst2x2(graph_, s_, const0_val, "Const_0");
        TF_Operation* const1 = FloatConst2x2(graph_, s_, const1_val, "Const_1");
        TF_Operation* matmul = MatMul(graph_, s_, const0, const1, "MatMul");
        inputs[0] = TF_Output{const0, 0};
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/resource_op_lifting.mlir

        -> (tensor<*x!tf_type.resource<tensor<4xf32>>>, tensor<4xf32>) {
      // CHECK-NEXT: %[[CONST:.*]] = "tf.Const"()
      %constant = "tf.Const"() {value = dense<0.0> : tensor<4xf32>} : () -> tensor<4xf32>
      "tf.AssignVariableOp"(%arg0, %constant) : (tensor<*x!tf_type.resource<tensor<4xf32>>>, tensor<4xf32>) -> ()
      // CHECK-NEXT: return %[[CONST]], %[[CONST]]
      func.return %arg0, %constant : tensor<*x!tf_type.resource<tensor<4xf32>>>, tensor<4xf32>
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 74K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md

        tf_device.return %identity : tensor<i32>
      }) : () -> (tensor<i32>)
      return %cluster : tensor<i32>
    }
    ```
    
    will be transformed into:
    
    ```mlir
    func @cluster() -> tensor<i32> {
      %cluster = "tf_device.cluster"() ( {
        %const = "tf.Const"() {value = dense<0> : tensor<i32>} : () -> tensor<i32>
        %identity = "tf.Identity"(%const) : (tensor<i32>) -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/lift_quantizable_spots_as_functions.mlir

      %3 = stablehlo.add %2, %1 : tensor<1x3xf32>
      func.return %3: tensor<1x3xf32>
    }
    // CHECK: %[[CONST_0:.*]] = stablehlo.constant dense<2.000000e+00>
    // CHECK: %[[CONST_1:.*]] = stablehlo.constant dense<2.000000e+00>
    // CHECK: %[[XLA_CALL_MODULE:.*]] = "tf.XlaCallModule"(%arg0, %[[CONST_0]], %[[CONST_1]])
    // CHECK: return %[[XLA_CALL_MODULE:.*]] : tensor<1x3xf32>
    // CHECK: }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewritedec64.go

    	for {
    		x := v_0
    		s := v_1
    		v.reset(OpInt64Make)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 65.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/tests/replace_cast_hacks_with_tf_xla_ops.mlir

    // CHECK-DAG: %[[CONST_8:.*]] = "tf.Const"() <{value = dense<[162, 160]> : tensor<2xi32>}> : () -> tensor<2xi32>
    // CHECK: %[[PADV2_0:.*]] = "tf.PadV2"({{.*}}, %[[CONST_4]], %[[CONST_5]]) : (tensor<1x3x4x3xi8>, tensor<4x2xi32>, tensor<i8>) -> tensor<1x4x5x3xi8>
    // CHECK: %[[XLACONVV2_0:.*]] = "tf.XlaConvV2"(%[[PADV2_0]], %[[CONST_6]], %[[CONST_0]], %[[CONST_3]], %[[CONST_1]], %[[CONST_1]], %[[CONST_2]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 81K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize_composite_functions.mlir

    // CHECK-DAG: %[[CONST_2:.+]] = stablehlo.constant dense<3> : tensor<1xi32>
    // CHECK-DAG: %[[CONST_3:.+]] = stablehlo.constant dense<4> : tensor<1xi32>
    // CHECK-DAG: %[[CONST_4:.+]] = stablehlo.constant dense<2> : tensor<1xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 91.6K bytes
    - Viewed (0)
Back to top