Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 127 for const2 (0.37 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

        //        |         |
        //      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)
  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/link/internal/ld/dwarf.go

    	flagVariants := make(map[string]bool)
    
    	for _, lib := range ctxt.Library {
    
    		consts := d.ldr.Lookup(dwarf.ConstInfoPrefix+lib.Pkg, 0)
    		for _, unit := range lib.Units {
    			// We drop the constants into the first CU.
    			if consts != 0 {
    				unit.Consts = sym.LoaderSym(consts)
    				d.importInfoSymbol(consts)
    				consts = 0
    			}
    			ctxt.compUnits = append(ctxt.compUnits, unit)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/compile/internal/ssa/_gen/AMD64.rules

    (MUL(Q|L)const [-3] x) => (NEG(Q|L) (LEA(Q|L)2 <v.Type> x x))
    (MUL(Q|L)const [-1] x) => (NEG(Q|L) x)
    (MUL(Q|L)const [ 0] _) => (MOV(Q|L)const [0])
    (MUL(Q|L)const [ 1] x) => x
    (MUL(Q|L)const [ 3] x) => (LEA(Q|L)2 x x)
    (MUL(Q|L)const [ 5] x) => (LEA(Q|L)4 x x)
    (MUL(Q|L)const [ 7] x) => (LEA(Q|L)2 x (LEA(Q|L)2 <v.Type> x x))
    (MUL(Q|L)const [ 9] x) => (LEA(Q|L)8 x x)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 93.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc

    #include "tensorflow/core/util/dump_graph.h"
    
    namespace tensorflow {
    
    const char* const kXlaCompiledKernelAttr = "_XlaCompiledKernel";
    const char* const kXlaNumConstantArgsAttr = "_XlaNumConstantArgs";
    const char* const kXlaNumResourceArgsAttr = "_XlaNumResourceArgs";
    const char* const kXlaHostTransferSequencerAttr =
        "_xla_host_transfer_sequencer";
    const char* const kXlaHasReferenceVarsAttr = "_XlaHasReferenceVars";
    
    namespace {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 51K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc

      ASSERT_THAT(status, Eq(kTfLiteOk));
      const auto& subgraph = model_.subgraphs[0];
      auto conv_op = subgraph->operators[0].get();
      const int input_tensor_idx = 0;
      const int weights_tensor_idx = 1;
      const int bias_tensor_index = 2;
      const int output_tensor_idx = 0;
      const auto bias_tensor =
          subgraph->tensors[conv_op->inputs[bias_tensor_index]].get();
      const auto input_tensor =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/deadness_analysis.cc

      Predicate* start() const { return operands_[0]; }
      Predicate* step() const { return operands_[1]; }
      absl::Span<const string> frame() const { return frame_; }
    
      string ToString() const override {
        return absl::StrCat("{", start()->ToString(), ",&,", step()->ToString(),
                            "}<", absl::StrJoin(frame(), ";"), ">");
      }
    
      Kind kind() const override { return Kind::kAndRecurrence; }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 60.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/tests/mlrt/while_to_map_fn.mlir

      // CHECK-NEXT: [[loop_counter:%.*]] = "tf.Const"
      %outputs_16 =  "tf.Const"() {device = "", value = dense<0> : tensor<i32>} : () -> tensor<i32>
      // CHECK-NEXT: [[max_iterations:%.*]] = "tf.Const"
      %outputs_18 =  "tf.Const"() {device = "", value = dense<16> : tensor<i32>} : () -> tensor<i32>
      %outputs_20 =  "tf.Const"() {device = "", value = dense<1> : tensor<i32>} : () -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:40:22 UTC 2024
    - 68.6K bytes
    - Viewed (0)
Back to top