Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for private (0.24 sec)

  1. src/cmd/cgo/internal/swig/testdata/callback/main.h

    // 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; }
    	void setCallback(Callback *cb) { delCallback(); callback_ = cb; }
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 529 bytes
    - Viewed (0)
  2. tensorflow/c/eager/abstract_context.h

      // Remove a function. 'func' argument is the name of a previously added
      // FunctionDef. The name is in fdef.signature.name.
      virtual Status RemoveFunction(const string& func) = 0;
    
     private:
      const AbstractContextKind kind_;
    };
    
    namespace internal {
    struct AbstractContextDeleter {
      void operator()(AbstractContext* p) const {
        if (p != nullptr) {
          p->Release();
        }
      }
    };
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:16:58 GMT 2021
    - 3K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      // worker/task/replica if any of those differ across components. Useful for
      // printing debug messages.
      std::vector<std::string> SummarizeDeviceNames() const;
    
     private:
      // A sequence of device names, indicating which devices replicated operations
      // are forwarded to.
      const std::vector<std::string> underlying_devices_;
    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)
  4. tensorflow/c/eager/abstract_function.h

      virtual Status GetFunctionDef(const FunctionDef**) = 0;
    
      // Returns a shared reference to the wrapped function.
      virtual absl::StatusOr<core::RefCountPtr<FunctionRecord>>
      GetFunctionRecord() = 0;
    
     private:
      const AbstractFunctionKind kind_;
    };
    
    using AbstractFunctionPtr =
        tensorflow::core::IntrusivePtr<tensorflow::AbstractFunction>;
    
    }  // namespace tensorflow
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Mar 04 19:49:06 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  5. tensorflow/c/eager/tape.h

          bool build_default_zeros_grads = true);
    
      // Whether the tape is persistent. See ctor for detailed description.
      bool IsPersistent() const { return persistent_; }
    
     private:
      TensorTape tensor_tape_;
      OpTape<BackwardFunction, TapeTensor> op_tape_;
      int64_t next_op_id_{0};
    
      // Map from tensor id to number of remaining usages (i.e. how many entries in
    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)
  6. tensorflow/c/eager/graph_function.h

          override {
        return func_record_.GetNewRef();
      }
    
      // For LLVM style RTTI.
      static bool classof(const AbstractFunction* ptr) {
        return ptr->getKind() == kGraph;
      }
    
     private:
      core::RefCountPtr<FunctionRecord> func_record_;
    };
    }  // namespace graph
    }  // namespace tracing
    }  // namespace tensorflow
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Mar 04 19:49:06 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. tensorflow/c/eager/abstract_operation.h

                                      const int* num_dims, int num_values) = 0;
      virtual Status SetAttrFunctionList(
          const char* attr_name, absl::Span<const AbstractOperation*> values) = 0;
    
     private:
      const AbstractOperationKind kind_;
    };
    
    // TODO(b/193656009): Defining these in a cc file causes linker errors with
    // fastbuild.
    inline Status AbstractOperation::SetAttrShape(const char* attr_name,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/modular_filesystem.h

      Status SetOption(const std::string& name,
                       const std::vector<int64_t>& values) override;
      Status SetOption(const std::string& name,
                       const std::vector<double>& values) override;
    
     private:
      std::unique_ptr<TF_Filesystem> filesystem_;
      std::unique_ptr<const TF_FilesystemOps> ops_;
      std::unique_ptr<const TF_RandomAccessFileOps> random_access_file_ops_;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  9. tensorflow/c/eager/gradients.h

                      GradientFunctionFactory gradient_function_factory);
      Status Lookup(const ForwardOperation& op,
                    std::unique_ptr<GradientFunction>* gradient_function) const;
    
     private:
      absl::flat_hash_map<string, GradientFunctionFactory> registry_;
    };
    
    // TODO(srbs): Figure out if we can avoid declaring this in the public header.
    // Wrapper for a tensor output of an operation executing under a tape.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 10:27:05 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  10. tensorflow/c/eager/abstract_tensor_handle.h

      // Implementations are free to override it with something more informative.
      virtual std::string DebugString() const;
    
      AbstractTensorHandleKind getKind() const { return kind_; }
    
     private:
      const AbstractTensorHandleKind kind_;
    };
    
    namespace internal {
    struct AbstractTensorHandleDeleter {
      void operator()(AbstractTensorHandle* p) const {
        if (p != nullptr) {
          p->Unref();
        }
      }
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Mar 03 00:30:36 GMT 2023
    - 3K bytes
    - Viewed (0)
Back to top