- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for Chan (0.26 sec)
-
tensorflow/c/c_api.cc
" but actual rank is ", rank); return; } if (num_dims == 0) { // Output shape is a scalar. return; } // Rank is greater than 0, so fill in the values, if known, and // -1 for unknown values. for (int i = 0; i < num_dims; ++i) { auto dim = ic->Dim(shape, i); int64_t value = -1; if (ic->ValueKnown(dim)) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_distributed_test.cc
CHECK(tensorflow::protobuf::TextFormat::ParseFromString( VariableAddFunctionSignature(), &def)); return def.SerializeAsString(); } // A graph optimization pass that would fail when triggered for more than once. class GraphErrorInjectionPass : public tensorflow::GraphOptimizationPass { public: static bool enabled_; GraphErrorInjectionPass() {} tensorflow::Status Run(
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 23.5K bytes - Viewed (0) -
tensorflow/c/c_api_function.cc
auto& indices = iter->second; if (std::find(indices.begin(), indices.end(), idx) != indices.end()) { return InvalidArgument("TF_Output ", node->name(), ":", idx, " appears more than once in the input list"); } indices.push_back(idx); } } return absl::OkStatus(); } // Converts `noutputs` and `outputs` into `outputs_tensors` and does various // checks while doing so.
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 13.6K bytes - Viewed (2) -
tensorflow/c/c_api_test.cc
EXPECT_TRUE(absl::StrContains(s, expected)) << "'" << s << "' does not contain '" << expected << "'"; } // Returns the GPU device name if there is one (with arbitrary tie breaking if // 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();
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc
auto posix_file = static_cast<PosixFile*>(file->plugin_file); char* dst = buffer; int64_t read = 0; while (n > 0) { // Some platforms, notably macs, throw `EINVAL` if `pread` is asked to read // more than fits in a 32-bit integer. size_t requested_read_length; if (n > INT32_MAX) requested_read_length = INT32_MAX; else requested_read_length = n;
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sun Mar 24 20:08:23 GMT 2024 - 15.8K bytes - Viewed (0) -
ci/official/utilities/code_check_full.bats
# the dependencies of that target which include a license notice file are then # included when generating that license. Necessary because the license targets # in TensorFlow are manually enumerated rather than generated automatically. do_external_licenses_check(){ BUILD_TARGET="$1" LICENSES_TARGET="$2" # grep patterns for targets which are allowed to be missing from the licenses
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 06 21:54:13 GMT 2024 - 13.2K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
const std::function<void(BackwardFunction*)>& backward_function_deleter); void DeleteTrace(int64_t tensor_id); // Consumes the internal state of the tape (so cannot be called more than // once) and produces the gradient of the target tensors with respect to the // source tensors. The output gradients are used if not empty and not // null. The result is populated with one tensor per target element.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 02 12:40:29 GMT 2024 - 47.2K bytes - Viewed (1) -
configure.py
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 18:25:36 GMT 2024 - 53.8K bytes - Viewed (0) -
.bazelrc
# TODO(rostam): Remove when `cc_shared_library` is enabled by default build --experimental_cc_shared_library # cc_shared_library ensures no library is linked statically more than once. build --experimental_link_static_libraries_once=false # Prevent regressions on those two incompatible changes # TODO: remove those flags when they are flipped in the default Bazel version TF uses.
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Apr 24 20:50:35 GMT 2024 - 52.6K bytes - Viewed (2) -
tensorflow/c/eager/c_api_experimental.h
// is for performance optimization by reusing an exiting unused op rather than // creating a new op every time. If `raw_device_name` is `NULL` or empty, it // does not set the device name. If it's not `NULL`, then it attempts to parse // and set the device name. It's effectively `TFE_OpSetDevice`, but it is faster // than separately calling it because if the existing op has the same
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)