Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 803 for destruction (0.21 sec)

  1. tensorflow/c/safe_ptr.h

    };
    
    }  // namespace detail
    
    // Safe containers for an owned TF_Tensor. On destruction, the tensor will be
    // deleted by TF_DeleteTensor.
    using Safe_TF_TensorPtr = std::unique_ptr<TF_Tensor, detail::TFTensorDeleter>;
    Safe_TF_TensorPtr make_safe(TF_Tensor* tensor);
    
    // Safe containers for an owned TFE_TensorHandle. On destruction, the handle
    // will be deleted by TFE_DeleteTensorHandle.
    using Safe_TFE_TensorHandlePtr =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 22 19:17:09 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/saved_model/core/revived_types/flat_tensor_function.h

      //                 FlatTensorFunction. FlatTensorFunction will register this
      //                 function_def with `ctx` on creation, and de-register it on
      //                 destruction. function_def must be non-null, but
      //                 otherwise has no lifetime requirements.
      //  captures - The captured TensorHandles associated with this
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 22 21:03:41 UTC 2020
    - 3.8K bytes
    - Viewed (0)
  3. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/KtDestructuringDeclarationSymbol.kt

         * [KaPropertySymbol]s instead.
         *
         * E.g., for the following code:
         * ```
         * data class X(val y: Int, val z: String)
         * fun foo() {
         *      val (a, _) = x // the destruction
         * }
         * ```
         *
         * the following symbols will be created (pseudocode)
         * ```
         * val a: Int
         * val _: String
         * ```
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu May 23 17:29:30 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. tensorflow/cc/saved_model/loader.h

    ///
    /// NOTE: Prefer to use SavedModelBundleLite in new code, as it consumes less
    /// RAM.
    struct SavedModelBundle : public SavedModelBundleInterface {
      /// A TensorFlow Session does not Close itself on destruction. To avoid
      /// resource leaks, we explicitly call Close on Sessions that we create.
      ~SavedModelBundle() override {
        if (session) {
          session->Close().IgnoreError();
        }
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 18:28:37 UTC 2023
    - 6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/python/type_casters.h

      }
    
      // Constructs a `bytes` object by serializing `src`.
      static handle cast(ProtoT&& src, return_value_policy policy, handle parent) {
        // release() prevents the reference count from decreasing upon the
        // destruction of py::bytes and returns a raw python object handle.
        return py::bytes(Serialize(src)).release();
      }
    
      // Constructs a `bytes` object by serializing `src`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/initialization/RootBuildLifecycleListener.java

         * Called at the start of the root build, immediately after the creation of the root build services.
         */
        void afterStart();
    
        /**
         * Called at the completion of the root build, immediately before destruction of the root build services.
         */
        void beforeComplete();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/saved_model/core/revived_types/tf_concrete_function.h

      //                 TFConcreteFunction. TFConcreteFunction will register this
      //                 function_def with `ctx` on creation, and de-register it on
      //                 destruction. function_def must be non-null, but
      //                 otherwise has no lifetime requirements.
      //  captures - The captured TensorHandles associated with this
      //             TFConcreteFunction.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 30 19:43:25 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/variable_info.h

    namespace tensorflow {
    
    // Information about the state of a variable passed as input to the _XlaCompile
    // and _XlaRun operators.  Unlocks the resource variable and decrements its
    // refcount on destruction.
    class VariableInfo {
     public:
      explicit VariableInfo(int index, absl::string_view name, Var* var,
                            const std::optional<ManagedStackTrace>&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 14 21:57:02 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/saved_model/core/revived_types/tf_signature_def_function.h

      //                 TFSignatureDefFunction. TFSignatureDefFunction will
      //                 register this function_def with `ctx` on creation, and
      //                 de-register it on destruction. function_def must be
      //                 non-null, but otherwise has no lifetime requirements.
      //  captures - The captured TensorHandles associated with this
      //             TFConcreteFunction.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 30 19:43:25 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/saved_model/core/ops/variable_ops_test.cc

          context(), DT_FLOAT, {}, nullptr, &handle));
      // The created TensorHandle should be a DT_Resource
      EXPECT_EQ(handle->DataType(), DT_RESOURCE);
    }
    
    // Sanity check for variable destruction
    TEST_F(VariableOpsTest, DestroyVariableSuccessful) {
      // Create a DT_Resource TensorHandle that points to a scalar DT_FLOAT tensor
      ImmediateTensorHandlePtr handle;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 21 19:26:54 UTC 2020
    - 3.8K bytes
    - Viewed (0)
Back to top