Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for getint (0.17 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/api_template.__init__.py

      __path__ = [_tf_api_dir]
    elif _tf_api_dir not in __path__:
      __path__.append(_tf_api_dir)
    
    # Hook external TensorFlow modules.
    
    # Load tensorflow-io-gcs-filesystem if enabled
    if (_os.getenv("TF_USE_MODULAR_FILESYSTEM", "0") == "true" or
        _os.getenv("TF_USE_MODULAR_FILESYSTEM", "0") == "1"):
      import tensorflow_io_gcs_filesystem as _tensorflow_io_gcs_filesystem
    
    # Lazy-load Keras v2/3.
    _tf_uses_legacy_keras = (
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 05 06:27:59 GMT 2024
    - 6.7K bytes
    - Viewed (3)
  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/api_template_v1.__init__.py

    # lazy loading.
    _current_module.compat.v2  # pylint: disable=pointless-statement
    
    # Load tensorflow-io-gcs-filesystem if enabled
    if (_os.getenv("TF_USE_MODULAR_FILESYSTEM", "0") == "true" or
        _os.getenv("TF_USE_MODULAR_FILESYSTEM", "0") == "1"):
      import tensorflow_io_gcs_filesystem as _tensorflow_io_gcs_filesystem
    
    # Lazy-load Keras v1.
    _tf_uses_legacy_keras = (
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc

    static const absl::string_view content_view = content;
    
    namespace gcs = google::cloud::storage;
    
    static std::string InitializeTmpDir() {
      // This env should be something like `gs://bucket/path`
      const char* test_dir = getenv("GCS_TEST_TMPDIR");
      if (test_dir != nullptr) {
        std::string bucket, object;
        TF_Status* status = TF_NewStatus();
        ParseGCSPath(test_dir, true, &bucket, &object, status);
        if (TF_GetCode(status) != TF_OK) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 12:04:23 GMT 2020
    - 24.9K bytes
    - Viewed (0)
Back to top