- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 47 for what (0.19 sec)
-
tensorflow/c/c_api.h
// Get the number of operations that have `*oper` as a control input. // Note that this number can change when new operations are added to // the graph. TF_CAPI_EXPORT extern int TF_OperationNumControlOutputs(TF_Operation* oper); // Get the list of operations that have `*oper` as a control input. // `control_outputs` must point to an array of length at least
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
tensorflow/c/eager/parallel_device/parallel_device_testlib.h
// restricted stand-in for tf.Variable in Python. class Variable { public: // Construct a Variable from a resource-dtype TFE_TensorHandle and an // indication of the dtype of the variable's value. // // Note that creating this resource-dtype handle can fail, so `Create` is a // separate static method which returns a status. Variable(TFE_TensorHandle* handle, TF_DataType type) : handle_(handle), type_(type) {}
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 09 01:12:35 GMT 2021 - 6.9K bytes - Viewed (0) -
src/cmd/cgo/internal/swig/testdata/callback/main.h
// Copyright 2011 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. class Callback { public: virtual ~Callback() { } virtual std::string run() { return "Callback::run"; } }; class Caller { private: Callback *callback_; public: Caller(): callback_(0) { } ~Caller() { delCallback(); } void delCallback() { delete callback_; callback_ = 0; }
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 529 bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
TFE_TensorHandle* tensor(size_t index) const { return tensors_[index].get(); } // If the `shape` argument to `FromTensorHandles` is specified, returns that. // // Otherwise if all of the tensors have the same shape, returns that via the // `shape` output argument. This blocks waiting for async tensors, may return // a delayed bad status encountered during async execution, and will return a
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 25 15:21:13 GMT 2023 - 12.9K bytes - Viewed (0) -
tensorflow/c/eager/abstract_context.h
namespace tensorflow { // Abstract interface to a context. // // This serves as a factory for creating `AbstractOperation`s and for // registering traced functions. // Operations creation within a context can only be executed in that context // (for now at least). // Implementations of the context may contain some state e.g. an execution // environment, a traced representation etc. class AbstractContext { protected:
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sun Oct 24 11:16:58 GMT 2021 - 3K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.h
TF_CAPI_EXPORT int TF_PickUnusedPortOrDie(void); // Fast path method that makes constructing a single scalar tensor require less // overhead and copies. TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_NewTensorHandleFromScalar( TF_DataType data_type, void* data, size_t len, TF_Status* status); // Specify the server_def that enables collective ops. // This is different to the above function in that it doesn't create remote
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 15.1K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
// the tape, so no gradient needs to be computed from it unless this // target is also a source. auto source_tensor = sources_that_are_targets.find(id); if (source_tensor != sources_that_are_targets.end()) { Gradient* ones_like = nullptr; TF_RETURN_IF_ERROR( vspace.BuildOnesLike(source_tensor->second, &ones_like));
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) -
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.h
// file, since the plugin registration will look for the symbol in the DSO file // that provides the filesystem functionality. However, the POSIX filesystem // needs to be statically registered in some tests and utilities for building // the API files at the time of creating the pip package. Hence, we need to // expose this function so that this filesystem can be statically registered // when needed.
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Mar 20 16:42:12 GMT 2020 - 1.5K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue20266/issue20266.h
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #define issue20266 20266 #ifndef def20266 #error "expected def20266 to be defined"
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 251 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue26213/jni.h
// Copyright 2018 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // It's going to be hard to include a whole real JVM to test this. // So we'll simulate a really easy JVM using just the parts we need. // This is the relevant part of jni.h. // On Android NDK16, jobject is defined like this in C and C++ typedef void* jobject; typedef jobject jclass;
C - Registered: Tue Mar 26 11:13:08 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 874 bytes - Viewed (0)