- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 60 for declType (0.24 sec)
-
tensorflow/c/c_api_test.cc
// there are more than one), or "" otherwise. string GPUDeviceName(TF_Session* session) { std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status( TF_NewStatus(), TF_DeleteStatus); TF_Status* s = status.get(); std::unique_ptr<TF_DeviceList, decltype(&TF_DeleteDeviceList)> list( TF_SessionListDevices(session, s), TF_DeleteDeviceList); TF_DeviceList* device_list = list.get();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 96.9K bytes - Viewed (0) -
tensorflow/cc/framework/cc_op_gen_util.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 00:57:05 UTC 2024 - 25K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
expected_max_outputs, *default_cancellation_manager_); auto result = Join(expected_output_shapes, status); if (TF_GetCode(status) != TF_OK) { std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> await_status( TF_NewStatus(), TF_DeleteStatus); // Wait until all pending nodes have completed since they may have a // reference to default_cancellation_manager_. We ignore the status return
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 09 07:47:20 UTC 2024 - 25.4K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
using tensorflow::FunctionDef; using tensorflow::Node; using tensorflow::NodeBuilder; using tensorflow::Status; using tensorflow::errors::InvalidArgument; namespace { typedef std::unique_ptr<TF_Function, decltype(&TF_DeleteFunction)> UniqueFuncPtr; } // struct TF_Operation { tensorflow::Node node; }; static TF_Operation* ToTF_Operation(Node* node) { return static_cast<TF_Operation*>(static_cast<void*>(node)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 29.4K bytes - Viewed (0) -
tensorflow/c/kernels_experimental.cc
auto* tmp_var = new TmpVar; OP_REQUIRES(context, tmp_var, absl::ResourceExhaustedError("Could not allocate TmpVar.")); tmp_var->name = unique_name; Status s; std::unique_ptr<TF_Tensor, decltype(&TF_DeleteTensor)> tmp_var_tf( tensorflow::TF_TensorFromTensor(tmp_var->val, &s), TF_DeleteTensor); OP_REQUIRES_OK(context, s); allocFunc(ctx, tmp_var_tf.get(), dtype, dims, num_dims, tf_status);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 23 06:12:29 UTC 2024 - 30.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc
std::optional<StringRef> GetShardingStringFromVariant( const OpShardingVariant& sharding_or_op) { return std::visit( [](auto&& sharding_or_op) -> std::optional<StringRef> { using T = std::decay_t<decltype(sharding_or_op)>; if constexpr (std::is_same_v<T, StringRef>) { return sharding_or_op; } else { return GetXlaShardingFromOperator(sharding_or_op); } },
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 02:01:13 UTC 2024 - 28.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
if (methods_.summarize == nullptr) { return tensorflow::CustomDeviceTensorHandle::SummarizeValue(summary); } TF_Status c_status; std::unique_ptr<TF_Buffer, decltype(&TF_DeleteBuffer)> summary_buffer( methods_.summarize(data_, &c_status), TF_DeleteBuffer); if (!c_status.status.ok()) { return c_status.status; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 08:11:23 UTC 2024 - 44K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/validation/validation.go
} else { compResults, err := cel.Compile(typeInfo.Schema, typeInfo.DeclType, celconfig.PerCallLimit, opts.celEnvironmentSet, opts.preexistingExpressions) if err != nil { allErrs.CELErrors = append(allErrs.CELErrors, field.InternalError(fldPath.Child("x-kubernetes-validations"), err))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 10 22:07:40 UTC 2024 - 82.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
// Replace IfOp with PartitionedCallOp or StatefulPartitionedCallOp. auto rewrite = [&](auto op_type) { auto empty = rewriter.getStringAttr(""); ReplaceTfOpWithNewOp<typename decltype(op_type)::CallOp>( rewriter, op, op.getResultTypes(), op.getInput(), func, /*config=*/empty, /*config_proto=*/empty, /*executor_type=*/empty); }; if (op.getIsStateless())
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/rulegen.go
rr.add(breakf("auxTo%s(%s.%s) != %s", title(e.dclType), v, e.field, e.name)) case "AuxInt": rr.add(breakf("auxIntTo%s(%s.%s) != %s", title(e.dclType), v, e.field, e.name)) case "Type": rr.add(breakf("%s.%s != %s", v, e.field, e.name)) } } else { switch e.field { case "Aux": rr.add(declf(rr.Loc, e.name, "auxTo%s(%s.%s)", title(e.dclType), v, e.field)) case "AuxInt":
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 02 22:09:21 UTC 2023 - 48.7K bytes - Viewed (0)