Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for RETURNING (0.19 sec)

  1. tensorflow/c/c_api_internal.h

      // session has been run (this is detected in RecordMutation function). If the
      // string is empty, no mutation has occurred. Otherwise the string is a
      // description of the mutation suitable for returning to the user.
      //
      // Sessions are added to this map in TF_NewSession, and removed in
      // TF_DeleteSession.
      // TF_Graph may only / must be deleted when
      //   sessions.size() == 0 && delete_requested == true
      //
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  2. tensorflow/c/eager/unified_api_testutil.cc

                    absl::Span<AbstractTensorHandle*> outputs, bool use_function) {
      if (use_function) {
        const char* fn_name = "test_fn";
        core::RefCountPtr<AbstractFunction> scoped_func;
        // Returning null tensors from a tf.function is not supported, so we keep
        // track of indices in the model's outputs are nullptr in this set.
        // The FunctionDef only outputs the non-null tensors. We later pad the
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  3. tensorflow/c/eager/gradients.h

    // for each op.
    // TODO(srbs): We need to define `ZerosLike` here to keep the compiler happy.
    // Figure out a way to avoid this.
    // TODO(srbs): Should ZerosLike check-fail instead of returning nullptr?
    class TapeTensor {
     public:
      explicit TapeTensor(AbstractTensorHandle* handle);
      TapeTensor(const TapeTensor& other);
      ~TapeTensor();
    
      int64_t GetID() const;
    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)
  4. tensorflow/c/c_test_util.cc

                          &FloatDeallocator, nullptr);
    }
    
    // All the *Helper methods are used as a workaround for the restrictions that
    // one cannot call ASSERT_* methods in non-void-returning functions (when
    // exceptions are disabled during compilation)
    void PlaceholderHelper(TF_Graph* graph, TF_Status* s, const char* name,
                           TF_DataType dtype, const std::vector<int64_t>& dims,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:52 GMT 2021
    - 17.8K bytes
    - Viewed (2)
  5. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        for (auto* abstract_output : outputs->outputs) {
          GraphTensor* output = dyn_cast<GraphTensor>(abstract_output);
          if (!output) {
            return errors::Unimplemented(
                "Returning a non-graph tensor from a function has not "
                "been implemented yet.");
          }
          graph_outputs.push_back(output->output_);
        }
    
        auto s = TF_NewStatus();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
  6. tensorflow/c/eager/gradient_checker.cc

      int num_dims = TF_NumDims(t);
      for (int i = 0; i < num_dims; i++) {
        out_dims[i] = TF_Dim(t, i);
      }
    }
    
    // Runs model as is if output is a scalar,
    // else sums the output tensor before returning.
    Status RunAndMaybeSum(AbstractContext* ctx, Model forward,
                          absl::Span<AbstractTensorHandle* const> inputs,
                          absl::Span<AbstractTensorHandle*> outputs,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/filesystem_interface.h

    /// argument list with the out arguments. We only use the return type for an out
    /// parameter if that is a plain C type, as this ensures ABI compatibility
    /// (returning structures has issues in case compiler options affect
    /// optimizations such as RVO). If a status needs to be returned from these
    /// methods, the last argument is always a `TF_Status *` (or an array of such
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  8. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

    -# if __GNUC_PREREQ (2, 91)
    -#  define __bzero(s, n) __builtin_memset (s, '\0', n)
    -# endif
    -
    +# define __bzero(s, n) __builtin_memset (s, '\0', n)
     #endif
     
    -
    -/* Copy N bytes from SRC to DEST, returning pointer to byte following the
    -   last copied.  */
    -#ifdef __USE_GNU
    -# if !defined _HAVE_STRING_ARCH_mempcpy || defined _FORCE_INLINES
    -#  ifndef _HAVE_STRING_ARCH_mempcpy
    -#   if __GNUC_PREREQ (3, 4)
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 42.9K bytes
    - Viewed (1)
  9. tensorflow/c/c_api_function_test.cc

        TF_Operation* op;
        UseHelper(inputs, &op);
        return op;
      }
    
      // All the *Helper methods are used as a workaround for the restrictions that
      // one cannot call ASSERT_* methods in non-void-returning functions (when
      // exceptions are disabled during compilation)
      void UseHelper(const std::vector<TF_Output>& inputs, TF_Operation** op) {
        TF_OperationDescription* desc =
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  10. RELEASE.md

            `tf.keras.utils.image_dataset_from_directory`,`tf.keras.utils.text_dataset_from_directory`,
            and `audio_dataset_from_directory`, to be used with the
            `validation_split` argument, for returning both dataset splits at once,
            as a tuple.
        *   Added `tf.keras.utils.split_dataset` utility to split a `Dataset` object
            or a list/tuple of arrays into two `Dataset` objects (e.g. train/test).
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
Back to top