Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 168 for _retval (0.23 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/parse_example_v2.mlir

          // CHECK-NEXT: }
    
          tf_executor.fetch %outputs_10#0 : tensor<?x2xi64>
        }
        func.return %0#0 : tensor<?x2xi64>
        // CHECK:      name: "ParseExample/ParseExampleV2"
        // CHECK-NEXT: op: "_Retval"
        // CHECK-NEXT: input: "ParseExample"
    
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_activity_listener_test.cc

          count: 4
        }
      }
      unclustered_op_histogram {
        op: "NoOp"
        count: 2
      }
      unclustered_op_histogram {
        op: "_Arg"
        count: 1
      }
      unclustered_op_histogram {
        op: "_Retval"
        count: 1
      }
    }
    )",
          &expected_auto_clustering_activity);
      EXPECT_EQ(listener()->auto_clustering_activity().DebugString(),
                expected_auto_clustering_activity.DebugString());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/pjrt_compile_util_test.cc

      auto a = ops::_Arg(scope.WithOpName("A"), DT_INT32, 0);
      auto b = ops::_Arg(scope.WithOpName("B"), DT_INT32, 1);
      auto c = ops::Add(scope.WithOpName("C"), a, b);
      auto d = ops::_Retval(scope.WithOpName("D"), c, 0);
      TF_RETURN_IF_ERROR(scope.ToGraph(graph.get()));
      return graph;
    }
    
    StatusOr<FunctionDef> SampleFuntionAddXY(const std::string& name) {
      TF_ASSIGN_OR_RETURN(auto graph, SampleGraphAddXY());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 21 23:21:57 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export_test.cc

          StrEq("input_tensor:0"));
    
      // Match the `_Retval` node that corresponds to the return value of @main.
      const auto retval_node_itr =
          llvm::find_if(exported_model->graph_def().node(),
                        [](const NodeDef& node) { return node.op() == "_Retval"; });
      ASSERT_NE(retval_node_itr, exported_model->graph_def().node().end());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/extract_outside_compilation_pass.h

    // following steps:
    //
    // 1. Add a XLA computation key placeholder node (it will be used as input for
    //    XlaRecvAtHost and XlaSendFromHost);
    // 2. Replace all _Arg nodes with one single XlaRecvAtHost node;
    // 3. Replace all _Retval nodes with one single XlaSendFromHost node;
    // 4. Mark all nodes except key placeholder with attr `xla_cluster_attr_name`
    //    and `outside_compilation_attr_name`;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfr/utils/utils.cc

    std::string GetComposeFuncName(StringRef tf_op_name) {
      std::string compose_func_name;
      for (int i = 0; i < tf_op_name.size(); ++i) {
        if (tf_op_name[i] == '_') {
          // The field name must not contain "_"s. "_Arg" and "_RetVal" are special
          // op names and we can return empty string to skip the decomposition.
          return {};
        }
        if (tf_op_name[i] == '.') {
          compose_func_name.push_back('_');
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/compilability_check_util.cc

        return false;
      }
    
      // _Arg nodes in a top-level function represent feeds and _Retval nodes in a
      // top-level function represent fetches.
      if (stack_depth == 1 &&
          (node.type_string() == "_Arg" || node.type_string() == "_Retval")) {
        absl::string_view uncompilable_reason = "top level _Arg or _Retval";
        MaybeMarkUncompilableNode(uncompilable_reason, *stack_trace,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/device_executable_persistor_test.cc

        if (mul) {
          auto c = ops::Mul(scope.WithOpName("C"), a, b);
          auto d = ops::_Retval(scope.WithOpName("D"), c, 0);
          TF_RETURN_IF_ERROR(scope.ToGraph(graph.get()));
        } else {
          auto c = ops::Add(scope.WithOpName("C"), a, b);
          auto d = ops::_Retval(scope.WithOpName("D"), c, 0);
          TF_RETURN_IF_ERROR(scope.ToGraph(graph.get()));
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/tests/opens2s_gnmt_mixed_precision.golden_summary

     Sum 2
     Switch 247
     TensorArrayGatherV3 8
     TensorArrayGradV3 17
     TensorArrayReadV3 9
     TensorArrayScatterV3 8
     TensorArraySizeV3 4
     TensorArrayV3 8
     TensorArrayWriteV3 9
     Unique 2
     VariableV2 164
     _Retval 5
    cluster 0 size 440
     Abs 40
     AddN 1
     Any 41
     Cast 40
     ConcatV2 2
     Const 95
     ExpandDims 2
     IsInf 1
     IsNan 40
     L2Loss 40
     LogicalOr 1
     Max 41
     Minimum 1
     Mul 82
     Pack 3
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 06 10:38:14 UTC 2023
    - 5K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/device_compiler_test.cc

      auto a = ops::_Arg(scope.WithOpName("A"), DT_INT32, 0);
      auto b = ops::_Arg(scope.WithOpName("B"), DT_INT32, 1);
      auto c = ops::Add(scope.WithOpName("C"), a, b);
      auto d = ops::_Retval(scope.WithOpName("D"), c, 0);
      TF_RETURN_IF_ERROR(scope.ToGraph(graph.get()));
      return graph;
    }
    
    absl::StatusOr<FunctionDef> SampleFuntionAddXY(const std::string& name) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 19.8K bytes
    - Viewed (0)
Back to top