Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 111 for _retval (0.12 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/arg-retval-attrs.pbtxt

        key: "index"
        value {
          i: 0
        }
      }
    }
    node {
      name: "ret1"
      op: "_Retval"
      input: "arg1"
      attr {
        key: "T"
        value {
          type: DT_INT32
        }
      }
      attr {
        key: "index"
        value {
          i: 1
        }
      }
    }
    node {
      name: "ret2"
      op: "_Retval"
      input: "arg2"
      attr {
        key: "T"
        value {
          type: DT_BOOL
        }
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 24 00:18:34 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/rearrange_function_argument_pass_test.cc

        Output arg1 = ops::_Arg(s.WithOpName("arg1"), DT_RESOURCE, 1);
        Output arg2 = ops::_Arg(s.WithOpName("arg2"), DT_INT32, 2);
        auto ret0 = ops::_Retval(s.WithOpName("ret0"), arg1, 0);
        auto ret1 = ops::_Retval(s.WithOpName("ret1"), arg0, 1);
        auto ret2 = ops::_Retval(s.WithOpName("ret2"), arg2, 2);
        std::unique_ptr<Graph> g(new Graph(OpRegistry::Global()));
        TF_CHECK_OK(s.ToGraph(g.get()));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc

      {
        tensorflow::Scope s = tensorflow::Scope::NewRootScope();
        Output arg = ops::_Arg(s.WithOpName("arg"), DT_INT32, 0);
        Output identity = ops::Identity(s.WithOpName("identity_true_fn"), arg);
        ops::_Retval retval(s.WithOpName("retval"), identity, 0);
        std::unique_ptr<Graph> g(new Graph(OpRegistry::Global()));
        TF_CHECK_OK(s.ToGraph(g.get()));
        auto node_name_image = g->BuildNodeNameIndex();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 41K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/legalize_tfg.mlir

        // CHECK: tf_executor.island wraps "tf._Retval"(%outputs_0) {T = !tf_type.resource, _mlir_name = "func_call", index = 0 : i64} : (tensor<*x!tf_type.resource>) -> ()
        %ctl_1 = _Retval(%test_func_name0) name("func_call") {T = !tf_type.resource, index = 0 : i64} : tensor<*x!tf_type.resource>
        // CHECK: tf_executor.fetch
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/tests/keras_imagenet_main_graph_mode.golden_summary

    Clustered nodes: 2178
    Unclustered nodes: 446
    Number of clusters: 1
    
    unclustered size 446
     AssignAddVariableOp 2
     Const 2
     DivNoNan 1
     Identity 1
     NoOp 1
     ReadVariableOp 2
     VarHandleOp 435
     _Retval 2
    cluster 0 size 2178
     Add 17
     AddN 72
     ArgMax 1
     AssignAddVariableOp 1
     AssignSubVariableOp 106
     BiasAdd 1
     BiasAddGrad 1
     Cast 3
     Const 357
     Conv2D 53
     Conv2DBackpropFilter 53
     Conv2DBackpropInput 52
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 06 10:38:14 UTC 2023
    - 740 bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-as-function.pbtxt

        value {
          type: DT_FLOAT
        }
      }
    }
    node {
      name: "rets_0"
      op: "_Retval"
      input: "identity"
      attr {
        key: "T"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "index"
        value {
          i: 0
        }
      }
    }
    node {
      name: "rets_1"
      op: "_Retval"
      input: "statefulpartitionedcall"
      attr {
        key: "T"
        value {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 24 00:18:34 UTC 2023
    - 5K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/xla_compile_util.cc

        TF_RETURN_IF_ERROR(status);
        graph->AddEdge(node, 0, main_node, i);
      }
    
      // Similarly with return values, create dummy _Retval nodes fed by `node`.
      for (int64_t i = 0, end = result_types.size(); i < end; ++i) {
        Node* node;
        string retval_name = absl::StrCat("_retval", i);
        Status status = NodeBuilder(retval_name, FunctionLibraryDefinition::kRetOp)
                            .Input(main_node, i)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/tests/keras_imagenet_main.golden_summary

    Unclustered nodes: 606
    Number of clusters: 2
    
    unclustered size 606
     AssignAddVariableOp 1
     Const 108
     DivNoNan 1
     Identity 2
     Merge 53
     PlaceholderWithDefault 1
     ReadVariableOp 2
     Switch 1
     _Arg 435
     _Retval 2
    cluster 0 size 1910
     Add 16
     AddN 71
     ArgMax 1
     AssignAddVariableOp 1
     BiasAdd 1
     BiasAddGrad 1
     Cast 115
     Const 407
     Conv2D 53
     Conv2DBackpropFilter 53
     Conv2DBackpropInput 52
     Equal 1
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 06 10:38:14 UTC 2023
    - 874 bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/tf_add.mlir

    // CHECK-NEXT:   name: "Add{{_.*_1}}"
    // CHECK-NEXT:   op: "Add"
    // CHECK-NEXT:   input: "input0"
    // CHECK-NEXT:   input: "input1"
    // CHECK:      node {
    // CHECK-NEXT:   name: "Add"
    // CHECK-NEXT:   op: "_Retval"
    // CHECK-NEXT:   input: "Add{{_.*_1}}"
    // CHECK-NEXT:   attr {
    // CHECK-NEXT:     key: "T"
    // CHECK-NEXT:     value {
    // CHECK-NEXT:       type: DT_INT32
    // CHECK-NEXT:     }
    // CHECK-NEXT:   }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 22:54:55 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/python/save_model.py

      might become the name of Retval nodes as well (with an index suffix if there
      are multiple output tensors from one node). Since Retval nodes are not used in
      SavedModel, this function removes them and restore the names to the actual
      output tensors.
    
      Args:
        graph_def: the converted GraphDef.
    
      Returns:
        The GraphDef with Retval nodes removed and output tensor names restored.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top