- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 55 for _retval0 (0.21 sec)
-
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) -
tensorflow/c/eager/gradients.cc
absl::Span<AbstractTensorHandle*> retvals, int* num_retvals, ForwardOperation* forward_op_, Tape* tape, const GradientRegistry& registry) { TF_RETURN_IF_ERROR(op_->Execute(retvals, num_retvals)); for (int i = 0; i < *num_retvals; i++) { // TODO(srbs): Manage refcount of ForwardOperation's inputs/outputs. forward_op_->outputs.push_back(retvals[i]); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 19.3K bytes - Viewed (0) -
operator/pkg/verifier/verifier.go
if err != nil { return nil, err } retval := make([]*v1alpha1.IstioOperator, 0) for _, un := range ul.Items { fixTimestampRelatedUnmarshalIssues(&un) by := util.ToYAML(un.Object) iop, err := operator_istio.UnmarshalIstioOperator(by, true) if err != nil { return nil, err } retval = append(retval, iop) } return retval, nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 19:23:44 UTC 2024 - 15K bytes - Viewed (0) -
pilot/pkg/networking/core/envoyfilter/cluster_patch.go
if dst != nil && srcPatch != nil { retVal, errMerge := util.MergeAnyWithAny(dst, srcPatch) if errMerge != nil { return false, fmt.Errorf("function MergeAnyWithAny failed for ApplyClusterMerge: %v", errMerge) } // Merge the above result with the whole cluster merge.Merge(dst, retVal) } } return true, nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Mar 28 17:09:02 UTC 2024 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_compile_util.h
kAsync, }; enum class DeviceCompileState { kUncompiled, kCompiling, kCompiled, }; // Creates a single-node graph using the specified `node_def` as the only op // apart from the arg and retval nodes corresponding to `args` and // `result_types` respectively. absl::StatusOr<std::unique_ptr<Graph>> CreateSingleOpGraph( const NodeDef& node_def, absl::Span<const XlaArgument> args,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 2.4K bytes - Viewed (0) -
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) -
tensorflow/c/eager/c_api.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 08:11:23 UTC 2024 - 44K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
} tf_outputs[i] = t->output_; } TF_AddInputList(op_.get(), tf_outputs.data(), tf_outputs.size()); return absl::OkStatus(); } Status Execute(absl::Span<AbstractTensorHandle*> retvals, int* num_retvals) override { auto* tf_opdesc = op_.release(); if (tf_opdesc == nullptr) { return errors::InvalidArgument("AbstractOp is incomplete."); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 20:00:09 UTC 2024 - 15.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc
} Status MlirAbstractOp::Execute(absl::Span<AbstractTensorHandle*> retvals, int* num_retvals) { OperationState* state; TF_RETURN_IF_ERROR(Create(operands_, &state)); Operation* op = function_context_->CreateOperationFromState(*state); *num_retvals = op->getNumResults(); for (int i = 0; i < *num_retvals; i++) retvals[i] = new MlirTensor(op->getResult(i)); return absl::OkStatus(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/ifrt/rewrite_cluster_to_ifrt_call.mlir
// CHECK: func.func @_ifrt_program__func(%arg0: tensor<1x3xf32>) // CHECK-SAME: __tpu_compile_metadata_text = "args { dtype: DT_FLOAT shape { dim { size: 1 } dim { size: 3 } } kind: PARAMETER sharding { } is_bounded_dynamic_dim: false } retvals { sharding { } } num_replicas: 1 num_cores_per_replica: 1 " // CHECK-SAME: tfrt_ifrt_serving.program_id = [[PROGRAM_ID]] : i64 // CHECK: return
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Feb 17 07:28:40 UTC 2024 - 9K bytes - Viewed (0)