Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for getint (0.16 sec)

  1. tensorflow/c/eager/abstract_op_attrs.h

     public:
      // Returns which subclass is this instance of.
      AbstractOpAttrsKind getKind() const { return kind_; }
      virtual ~AbstractOpAttrs() = default;
    
      // Returns the AbstractFunction as a FunctionDef.
      virtual void GetNameAttrList(
          tensorflow::NameAttrList* name_and_attrs) const = 0;
    
      virtual bool GetInt(absl::string_view, int64_t* result) const = 0;
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed May 26 22:20:27 GMT 2021
    - 2K bytes
    - Viewed (0)
  2. tensorflow/c/eager/abstract_context.h

      enum AbstractContextKind { kGraph, kMlir, kEager, kTfrt, kTape, kOpHandler };
      explicit AbstractContext(AbstractContextKind kind) : kind_(kind) {}
      virtual ~AbstractContext() {}
    
     public:
      AbstractContextKind getKind() const { return kind_; }
    
      // Release any underlying resources, including the interface object.
      //
      // WARNING: The destructor of this class is marked as protected to disallow
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:16:58 GMT 2021
    - 3K bytes
    - Viewed (0)
  3. 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 23 12:39:09 GMT 2024
    - Last Modified: Mon Mar 04 19:49:06 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  4. tensorflow/c/c_test.c

    // just nice to know that it compiles.
    void compute(void* kernel, TF_OpKernelContext* ctx) {
      TF_Tensor* input;
      TF_Status* s = TF_NewStatus();
      TF_GetInput(ctx, 0, &input, s);
      TF_DeleteTensor(input);
      TF_DeleteStatus(s);
    }
    
    // Exercises tensorflow's C API.
    int main(int argc, char** argv) {
      TF_InitMain(argv[0], &argc, &argv);
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jan 15 17:51:26 GMT 2020
    - 2.8K bytes
    - Viewed (0)
  5. tensorflow/c/eager/abstract_operation.h

        kEager,
        kTfrt,
        kTape,
        kOpHandler
      };
      explicit AbstractOperation(AbstractOperationKind kind) : kind_(kind) {}
      virtual ~AbstractOperation() {}
    
     public:
      AbstractOperationKind getKind() const { return kind_; }
    
      // Release any underlying resources, including the interface object.
      //
      // WARNING: The destructor of this class is marked as protected to disallow
    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)
  6. tensorflow/c/eager/immediate_execution_operation.h

      virtual void SetStepId(int64_t step_id) = 0;
    
      // For LLVM style RTTI.
      static bool classof(const AbstractOperation* ptr) {
        return ptr->getKind() == kEager || ptr->getKind() == kTfrt;
      }
    
     protected:
      explicit ImmediateExecutionOperation(AbstractOperationKind kind)
          : AbstractOperation(kind) {}
      ~ImmediateExecutionOperation() override {}
    };
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 22:40:32 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  7. tensorflow/c/eager/immediate_execution_tensor_handle.h

      virtual Status SummarizeValue(std::string& summary) const;
    
      // For LLVM style RTTI.
      static bool classof(const AbstractTensorHandle* ptr) {
        return ptr->getKind() == kEager || ptr->getKind() == kTfrt;
      }
    
     protected:
      explicit ImmediateExecutionTensorHandle(AbstractTensorHandleKind kind)
          : AbstractTensorHandle(kind) {}
      ~ImmediateExecutionTensorHandle() override {}
    };
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Mar 10 21:56:24 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/gradients/tape/tape_context.h

      Status RegisterFunction(AbstractFunction*) override;
      Status RemoveFunction(const string& func) override;
      // For LLVM style RTTI.
      static bool classof(const AbstractContext* ptr) {
        return ptr->getKind() == kTape;
      }
      ~TapeContext() override;
    
     private:
      AbstractContext* parent_ctx_;  // Not owned.
      Tape* tape_;
      const GradientRegistry& registry_;
    };
    }  // namespace gradients
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 23 23:12:39 GMT 2020
    - 1.6K bytes
    - Viewed (0)
  9. tensorflow/c/eager/abstract_function.h

     protected:
      enum AbstractFunctionKind { kGraph, kMlir };
      explicit AbstractFunction(AbstractFunctionKind kind) : kind_(kind) {}
    
     public:
      // Returns which subclass is this instance of.
      AbstractFunctionKind getKind() const { return kind_; }
    
      // Returns the AbstractFunction as a FunctionDef.
      virtual Status GetFunctionDef(const FunctionDef**) = 0;
    
      // Returns a shared reference to the wrapped function.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Mar 04 19:49:06 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/gradients/tape/tape_operation.h

          absl::Span<const AbstractOperation*> values) override;
      AbstractOperation* GetBackingOperation();
      // For LLVM style RTTI.
      static bool classof(const AbstractOperation* ptr) {
        return ptr->getKind() == kTape;
      }
      ~TapeOperation() override;
    
     private:
      AbstractOperation* parent_op_;
      ForwardOperation forward_op_;
      Tape* tape_;
      const GradientRegistry& registry_;
    };
    
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 23 23:12:39 GMT 2020
    - 3.7K bytes
    - Viewed (1)
Back to top