- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 76 for _new (0.14 sec)
-
tensorflow/c/eager/c_api_experimental.h
// ----------------------------------------------------------------------------- // Dynamic cluster API. // Update an existing context with a new set of servers defined in a ServerDef // proto. Servers can be added to and removed from the list of remote workers // in the context. A New set of servers identified by the ServerDef must be up // when the context is updated. // // This API is for experimental usage and may be subject to change.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
TF_Tensor* Int32Tensor(int32_t v) { const int num_bytes = sizeof(int32_t); int32_t* values = new int32_t[1]; values[0] = v; return TF_NewTensor(TF_INT32, nullptr, 0, values, num_bytes, &Int32Deallocator, nullptr); } TF_Tensor* DoubleTensor(double v) { const int num_bytes = sizeof(double); double* values = new double[1]; values[0] = v; return TF_NewTensor(TF_DOUBLE, nullptr, 0, values, num_bytes,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:52 GMT 2021 - 17.8K bytes - Viewed (2) -
ci/official/containers/linux_arm64/builder.devtoolset/build_devtoolset.sh
VERSION="$1" TARGET="$2" case "${VERSION}" in devtoolset-9) LIBSTDCXX_VERSION="6.0.28" LIBSTDCXX_ABI="new" ;; devtoolset-10) LIBSTDCXX_VERSION="6.0.28" LIBSTDCXX_ABI="new" ;; *) echo "Usage: $0 {devtoolset-9|devtoolset-10} <target-directory> <arch>" echo "Use 'devtoolset-9' to build a manylinux2014 compatible toolchain" exit 1 ;; esac
Shell Script - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Fri Sep 29 00:26:34 GMT 2023 - 6.1K bytes - Viewed (1) -
WORKSPACE
# # The cascade of load() statements and tf_workspace?() calls works around the # restriction that load() statements need to be at the top of .bzl files. # E.g. we can not retrieve a new repository with http_archive and then load() # a macro from that repository in the same file. load("@//tensorflow:workspace3.bzl", "tf_workspace3") tf_workspace3() load("@//tensorflow:workspace2.bzl", "tf_workspace2")
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Fri Apr 05 22:27:48 GMT 2024 - 3K bytes - Viewed (2) -
tensorflow/c/eager/gradients.cc
} Status SetAttrBoolList(AbstractOperation* op_, const char* attr_name, const unsigned char* values, int num_values, ForwardOperation* forward_op_) { std::unique_ptr<bool[]> b(new bool[num_values]); for (int i = 0; i < num_values; ++i) { b[i] = values[i]; } forward_op_->attrs.Set(attr_name, gtl::ArraySlice<const bool>(b.get(), num_values));
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 19.3K bytes - Viewed (0) -
tensorflow/c/eager/dlpack.cc
auto tf_dlm_type = GetDlDataType(data_type, status); if (!status->status.ok()) { return nullptr; } TensorReference tensor_ref(*tensor); // This will call buf_->Ref() auto* tf_dlm_tensor_ctx = new TfDlManagedTensorCtx(tensor_ref); tf_dlm_tensor_ctx->reference = tensor_ref; DLManagedTensor* dlm_tensor = &tf_dlm_tensor_ctx->tensor; dlm_tensor->manager_ctx = tf_dlm_tensor_ctx;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 12.8K bytes - Viewed (0) -
RELEASE.md
* `tf.lite` * Enabled the new MLIR-based quantization backend by default * The new backend is used for 8 bits full integer post-training quantization * The new backend removes the redundant rescales and fixes some bugs (shared weight/bias, extremely small scales, etc) * Set `experimental_new_quantizer` in tf.lite.TFLiteConverter to False
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Apr 29 19:17:57 GMT 2024 - 727.7K bytes - Viewed (8) -
tensorflow/c/eager/c_api_experimental.cc
TFE_MonitoringCounter0* TFE_MonitoringNewCounter0(const char* name, TF_Status* status, const char* description) { auto* result = new TFE_MonitoringCounter0({name, description}); tsl::Set_TF_Status_from_Status(status, result->counter->GetStatus()); if (!result->counter->GetStatus().ok()) { delete result; return nullptr; } return result;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 11 23:52:39 GMT 2024 - 35.9K bytes - Viewed (3) -
tensorflow/c/experimental/gradients/math_grad.cc
return new SqrtGradientFunction(op.outputs[0]); } GradientFunction* NegRegisterer(const ForwardOperation& op) { return new NegGradientFunction; } GradientFunction* SubRegisterer(const ForwardOperation& op) { return new SubGradientFunction; } GradientFunction* MulRegisterer(const ForwardOperation& op) { return new MulGradientFunction(op.inputs); }
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 15.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
public: explicit GraphContext(const char* name) : TracingContext(kGraph), graph_(new TF_Graph(), TF_DeleteGraph), name_(name) {} void Release() override { delete this; } TracingOperation* CreateOperation() override { return new GraphOperation(graph_.get()); } Status AddParameter(DataType dtype, const PartialTensorShape& shape,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 15.4K bytes - Viewed (1)