Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 68 for vconst2 (0.18 sec)

  1. 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)
  2. tensorflow/c/c_api_test.cc

        TF_Operation* const3;
        if (grad_inputs_provided) {
          const float const3_val[] = {1.0, 1.0, 1.0, 1.0};
          const3 = FloatConst2x2(expected_graph_, s_, const3_val, "GradInputs");
        } else {
          const3 = OnesLike(expected_graph_, s_, matmul, "gradients/OnesLike");
        }
    
        TF_Operation* matmul1 = MatMul(expected_graph_, s_, const3, const1,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K 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. src/cmd/compile/internal/ssa/rewritedec64.go

    	for {
    		x := v_0
    		s := v_1
    		v.reset(OpInt64Make)
    		v0 := b.NewValue0(v.Pos, OpRsh32x32, typ.UInt32)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 65.3K bytes
    - Viewed (0)
  5. 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)
  6. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize_composite_functions.mlir

      func.func private @quantize_dot_general_with_bias_same_shape_fn(%arg0: tensor<1x2xf32>) -> tensor<1x3xf32> attributes {tf._original_func_name = "main_0"} {
        %cst = "tf.Const"() {value = dense<3.00000000e-1> : tensor<2x3xf32>} : () -> tensor<2x3xf32>
        %cst_0 = "tf.Const"() {value = dense<4.00000000e-1> : tensor<1x3xf32>} : () -> tensor<1x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 91.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/tests/replace_cast_hacks_with_tf_xla_ops.mlir

    // CHECK-LABEL: func @dynamic_shape_batch_matmul
    // CHECK-DAG: %[[CONST:.*]] = "tf.Const"() <{value = dense<0> : tensor<1xi32>}> : () -> tensor<1xi32>
    // CHECK-DAG: %[[CONST_1:.*]] = "tf.Const"() <{value = dense<2> : tensor<1xi32>}> : () -> tensor<1xi32>
    // CHECK-DAG: %[[CONST_2:.*]] = "tf.Const"() <{value = dense<1> : tensor<1xi32>}> : () -> tensor<1xi32>
    // CHECK-DAG: %[[CONST_3:.*]] = "tf.Const"() <{value = dense<[1024, 3]> : tensor<2xi64>}> : () -> tensor<2xi64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 81K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/parser.go

    			}
    			p.advance(_Import, _Const, _Type, _Var, _Func)
    			continue
    		}
    
    		// Reset p.pragma BEFORE advancing to the next token (consuming ';')
    		// since comments before may set pragmas for the next function decl.
    		p.clearPragma()
    
    		if p.tok != _EOF && !p.got(_Semi) {
    			p.syntaxError("after top level declaration")
    			p.advance(_Import, _Const, _Type, _Var, _Func)
    		}
    	}
    	// p.tok == _EOF
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_function_test.cc

      // operations specified (0).
      void DefineT(int num_opers, const std::vector<TF_Operation*>& opers,
                   const std::vector<TF_Output>& inputs,
                   const std::vector<TF_Output>& outputs,
                   const std::vector<string>& output_names,
                   bool expect_failure = false) {
        ASSERT_EQ(func_, nullptr);
        const char** output_names_ptr = ToArray(output_names);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  10. 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)
Back to top