Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for _retval0 (0.56 sec)

  1. tensorflow/compiler/jit/xla_compile_util_test.cc

      EXPECT_EQ(arg_node->op_def().name(), "_Arg");
      EXPECT_EQ(arg_node->attrs().FindByString("T")->type(), DT_FLOAT);
    
      const Node* retval_node = node_name_index.at("_retval0");
      EXPECT_EQ(retval_node->op_def().name(), "_Retval");
      EXPECT_EQ(retval_node->attrs().FindByString("T")->type(), DT_FLOAT);
    
      EXPECT_EQ(identity_node->num_outputs(), 1);
      EXPECT_EQ(retval_node->num_inputs(), 1);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 16 21:48:05 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter_test.cc

        func.func @main(%arg0: tensor<3x3x10xbf16>, %arg1: tensor<3xi32>) -> tensor<1x?x4xbf16> attributes {allow_soft_placement = false, tf.entry_function = {control_outputs = "", inputs = "_arg0,_arg1,_arg2", outputs = "_retval0"}} {
          %cst = "tf.Const"() {value = dense<[1, -1, 4]> : tensor<3xi32>} : () -> tensor<3xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

    // CHECK-SAME: %[[STATE:.*]]: tensor<2xui64>
    func.func @xla_rng_bit_generator(%arg0: tensor<2xui64>) -> (tensor<2xui64>, tensor<10x12xui32>) attributes {tf.entry_function = {control_outputs = "", inputs = "_arg0,_arg1,_arg2", outputs = "_retval0,_retval1"}} {
      // CHECK-NEXT: %0 = mhlo.constant dense<[10, 12]> : tensor<2xi32>
      %cst = "tf.Const"() {value = dense<[10, 12]> : tensor<2xi32>} : () -> tensor<2xi32>
      // CHECK-NEXT: %1 = mhlo.constant dense<3> : tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/compiler/jit/encapsulate_xla_computations_pass.cc

        StringPiece a_name(a->name());
        StringPiece b_name(b->name());
        return std::tie(a_is_resource, a_name) < std::tie(b_is_resource, b_name);
      });
    
      // Sorts the retvals by name so the order is deterministic.
      std::sort(retvals.begin(), retvals.end(),
                [](Node* a, Node* b) { return a->name() < b->name(); });
    
      // Computes the permutation to produce the correct argument order, and update
      // the argument indices.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/shape_inference.mlir

      // CHECK-LABEL: @const_input_required
      func.func @const_input_required(%arg0: tensor<10xf64>) -> tensor<?xf64> attributes {tf.entry_function = {control_outputs = "", inputs = "_arg0,_arg1,_arg2,_arg3", outputs = "_retval0"}} {
        %cst = "tf.Const"() {value = dense<6> : tensor<1xi32>} : () -> tensor<1xi32>
        %cst_0 = "tf.Const"() {value = dense<2> : tensor<1xi32>} : () -> tensor<1xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 17:24:10 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. tensorflow/c/eager/c_api_test.cc

      TF_SetStatus(status, TF_OK, "");
      if (retvals[0] != nullptr) {
        TFE_DeleteTensorHandle(retvals[0]);
      }
      retvals[0] = nullptr;
      TFE_Execute(matmul2, &retvals[0], &num_retvals, status);
      EXPECT_EQ(TF_OK, TF_GetCode(status));
      TF_Tensor* t = TFE_TensorHandleResolve(retvals[0], status);
      EXPECT_EQ(TF_OK, TF_GetCode(status));
      TF_DeleteTensor(t);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  10. 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)
Back to top