Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for inline (0.2 sec)

  1. tensorflow/c/conversion_macros.h

      inline cpp_impl *unwrap(wrapper *w) {                                        \
        return reinterpret_cast<cpp_impl *>(w);                                    \
      }                                                                            \
                                                                                   \
      inline const cpp_impl *unwrap(const wrapper *w) {                            \
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon May 04 16:24:03 GMT 2020
    - 1.7K bytes
    - Viewed (0)
  2. tensorflow/c/eager/abstract_operation.h

    };
    
    // TODO(b/193656009): Defining these in a cc file causes linker errors with
    // fastbuild.
    inline Status AbstractOperation::SetAttrShape(const char* attr_name,
                                                  const PartialTensorShape shape) {
      return SetAttrShape(attr_name, shape.dim_sizes().data(), shape.dims());
    }
    
    inline Status AbstractOperation::SetAttrStringList(
        const char* attr_name, absl::Span<string const> values) {
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  3. tensorflow/c/eager/gradient_checker.h

    #include "absl/types/span.h"
    #include "tensorflow/c/eager/abstract_tensor_handle.h"
    #include "tensorflow/c/eager/unified_api_testutil.h"
    
    namespace tensorflow {
    namespace gradients {
    
    /* Returns numerical grad inside `dtheta_approx` given `forward` model and
     * parameter specified by `input_index`.
     *
     * I.e. if y = <output of the forward model> and w = inputs[input_index],
     * this will calculate dy/dw numerically.
     *
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Dec 11 02:34:32 GMT 2020
    - 1.8K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_unified_experimental.h

    // setting functional attributes of other composite ops e.g. control flow.
    typedef struct TF_AbstractFunction TF_AbstractFunction;
    
    // This allows the client to swap the implementation of the tracing engine.
    // Any future call to TF_CreateFunction will use the implementation defined
    // here.
    void TF_SetTracingImplementation(const char* name, TF_Status*);
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
  5. tensorflow/c/eager/tape.h

      };
      // A deque-backed stack, whose element references are not invalidated by
      // pushes and pops at the back.
      std::stack<AccumulatorCallState> call_state_;
    };
    
    // Template instantiations here
    
    inline bool IsDtypeTrainable(DataType dtype) {
      switch (dtype) {
        case DT_HALF:
        case DT_BFLOAT16:
        case DT_FLOAT:
        case DT_DOUBLE:
        case DT_COMPLEX64:
        case DT_COMPLEX128:
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  6. tensorflow/c/c_api.h

    // - `inputs` and `outputs` cannot have reference types. Reference types are
    //   not exposed through C API and are being replaced with Resources. We support
    //   reference types inside function's body to support legacy code. Do not
    //   use them in new code.
    // - Every node in the function's body must have all of its inputs (including
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  7. tensorflow/c/c_api_internal.h

    // Set whether to propagate assigned device information when constructing a new
    // Graph from a GraphDef. By default assigned device information is not copied
    // and is re-computed by the runtime.
    inline void TF_ImportGraphDefOptionsSetPropagateDeviceSpec(
        TF_ImportGraphDefOptions* opts, unsigned char propagate_device_spec) {
      opts->opts.propagate_device_spec = propagate_device_spec;
    }
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/filesystem_interface.h

    ///
    /// The argument is guaranteed to not be `nullptr`.
    ///
    /// We want this to be defined in the plugin's memory space and we guarantee
    /// that core TensorFlow will never call this.
    static inline void TF_SetFilesystemVersionMetadata(
        TF_FilesystemPluginOps* ops) {
      ops->filesystem_ops_abi = TF_FILESYSTEM_OPS_ABI;
      ops->filesystem_ops_api = TF_FILESYSTEM_OPS_API;
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  9. tensorflow/c/eager/abstract_op_attrs.h

    limitations under the License.
    ==============================================================================*/
    #ifndef TENSORFLOW_C_EAGER_ABSTRACT_OP_ATTRS_H_
    #define TENSORFLOW_C_EAGER_ABSTRACT_OP_ATTRS_H_
    
    #include "absl/container/inlined_vector.h"
    #include "tensorflow/core/framework/attr_value.pb.h"
    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/platform/status.h"
    
    namespace tensorflow {
    
    // Attributes of an op.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed May 26 22:20:27 GMT 2021
    - 2K bytes
    - Viewed (0)
Back to top