Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 3,873 for classof (0.38 seconds)

  1. tensorflow/c/eager/c_api_unified_experimental_internal.h

    // type of AbstractTensor in their context (do not pass an MlirTensor to a
    // GraphContext and vice-versa).
    class TracingTensorHandle : public AbstractTensorHandle {
     protected:
      explicit TracingTensorHandle(AbstractTensorHandleKind kind)
          : AbstractTensorHandle(kind) {}
    
     public:
      // For LLVM style RTTI.
      static bool classof(const AbstractTensorHandle* ptr) {
        return ptr->getKind() == kGraph || ptr->getKind() == kMlir;
      }
    };
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 5.2K bytes
    - Click Count (0)
  2. tensorflow/c/eager/immediate_execution_operation.h

    #include "tensorflow/core/platform/status.h"
    #include "tensorflow/core/util/managed_stack_trace.h"
    
    struct TFE_Op;
    
    namespace tensorflow {
    
    class ImmediateExecutionContext;
    class AbstractOpAttrs;
    
    // Abstract interface to an operation.
    class ImmediateExecutionOperation : public AbstractOperation {
     public:
      virtual void Clear() = 0;
    
      // Returns the inputs of this op.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  3. tensorflow/c/eager/graph_function.h

      absl::StatusOr<core::RefCountPtr<FunctionRecord>> GetFunctionRecord()
          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
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  4. tensorflow/c/eager/c_api_unified_experimental_graph.cc

    namespace tracing {
    namespace graph {
    
    class GraphContext;
    class GraphOperation;
    class GraphTensor;
    
    auto& kUnknownDim = shape_inference::InferenceContext::kUnknownDim;
    auto& kUnknownRank = shape_inference::InferenceContext::kUnknownRank;
    
    // GraphTensor wraps a `TF_Output`, i.e. a pointer to TF_Operation and the index
    // into the list of outputs for the operation.
    class GraphTensor : public TracingTensorHandle {
     public:
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat May 31 07:13:41 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  5. tensorflow/c/eager/immediate_execution_tensor_handle.h

    //
    // A TensorHandle is management class around a Tensor which may track additional
    // metadata and synchronization.
    //
    // This allows us to hide concrete implementations of TensorHandle from header
    // files. The interface lists the common functionality that must be provided by
    // any concrete implementation. However, in cases where the true concrete class
    // is needed a static_cast can be applied.
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 4.3K bytes
    - Click Count (0)
  6. tensorflow/c/eager/immediate_execution_context.h

    #include "tensorflow/core/platform/tstring.h"
    #include "tensorflow/core/protobuf/config.pb.h"
    #include "tensorflow/core/util/device_name_utils.h"
    
    namespace tensorflow {
    class EagerExecutor;
    class EagerContext;
    class CustomDevice;
    class CustomDeviceOpHandler;
    class Device;
    
    // LINT.IfChange
    // Note: Keep in sync with exported copy of enum in eager/c_api.h.
    enum ContextDevicePlacementPolicy {
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 12.3K bytes
    - Click Count (0)
  7. tensorflow/c/eager/c_api.cc

      if (tensorflow::CustomDeviceTensorHandle::classof(unwrapped_handle)) {
        return tensorflow::down_cast<tensorflow::CustomDeviceTensorHandle*>(
                   unwrapped_handle)
            ->DevicePointer();
      }
      // TODO(b/175427838): It would be nice to be able to use tensorflow::isa here.
      if (!tensorflow::TensorHandle::classof(unwrapped_handle)) {
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Nov 07 05:55:21 GMT 2025
    - 43.9K bytes
    - Click Count (0)
  8. tensorflow/c/eager/c_api_experimental.cc

      for (int i = 0; i < *num_handles; ++i) {
        tensorflow::ImmediateExecutionTensorHandle* unwrapped_handle =
            tensorflow::unwrap(handles[i]);
        if (tensorflow::CustomDeviceTensorHandle::classof(unwrapped_handle)) {
          // One of the inputs we're trying to pack is on a custom device. We'll let
          // the first custom device we see handle all of the packing.
          auto* custom_device_handle =
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 35.9K bytes
    - Click Count (0)
  9. docs/tr/docs/tutorial/dependencies/classes-as-dependencies.md

    something(some_argument, some_keyword_argument="foo")
    ```
    
    o zaman bu bir "callable" demektir.
    
    ## Dependency Olarak Class'lar { #classes-as-dependencies_1 }
    
    Python'da bir class'tan instance oluştururken de aynı söz dizimini kullandığınızı fark etmiş olabilirsiniz.
    
    Örneğin:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 12:41:38 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  10. docs/en/docs/img/sponsors/classiq.png

    classiq.png...
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 10 02:29:40 GMT 2022
    - 6.1K bytes
    - Click Count (0)
Back to Top