Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for summarizer (0.23 sec)

  1. tensorflow/c/eager/immediate_execution_tensor_handle.h

      // the handle loses information, but `SummarizeValue` would be more precise.
      virtual bool PreferCustomSummarizer() const { return false; }
    
      // Returns a string which summarizes the value of this TensorHandle, for
      // debugging. Does not include a shape or dtype.
      //
      // Included in the default implementation of DebugString.
      virtual Status SummarizeValue(std::string& summary) const;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Mar 10 21:56:24 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental.h

      int (*num_dims)(void* data, TF_Status* status);
    
      // Computes the axis length at `dim_index`.
      int64_t (*dim)(void* data, int dim_index, TF_Status* status);
    
      void (*deallocator)(void* data);
    
      // Summarizes the value of this tensor. The caller takes ownership of the
      // returned buffer. If `status` is not TF_OK, instead returns a null pointer.
      //
      // Does not include the shape and dtype of the tensor (which is generally
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api.cc

        return methods_.summarize != nullptr;
      }
    
      Status SummarizeValue(std::string& summary) const override {
        if (methods_.summarize == nullptr) {
          return tensorflow::CustomDeviceTensorHandle::SummarizeValue(summary);
        }
        TF_Status c_status;
        std::unique_ptr<TF_Buffer, decltype(&TF_DeleteBuffer)> summary_buffer(
            methods_.summarize(data_, &c_status), TF_DeleteBuffer);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  4. RELEASE.md

            *   `setNumThreads` - Use `Interpreter.Options.setNumThreads`
        *   Add Conv3DTranspose as a builtin op.
    *   `tf.summary`:
        *   Fix `tf.summary.should_record_summaries()` so it correctly reflects when
            summaries will be written, even when `tf.summary.record_if()` is not n
            effect, by returning True tensor if default writer is present.
    *   Grappler:
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  5. tensorflow/c/eager/parallel_device/parallel_device_test.cc

      ImmediateExecutionTensorHandle* unwrapped_handle =
          tensorflow::unwrap(device_value.get());
      std::string summarized;
      TF_ASSERT_OK(unwrapped_handle->SummarizeValue(summarized));
      EXPECT_THAT(summarized, HasSubstr("\"CPU:0\": 3"));
    }
    
    }  // namespace parallel_device
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 29.3K bytes
    - Viewed (1)
  6. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

      }
      *shape = &*shape_;
      return absl::OkStatus();
    }
    
    Status ParallelTensor::SummarizeValue(std::string& summary) {
      summary = "{";
      std::vector<std::string> summarized_devices = device_.SummarizeDeviceNames();
      for (int component_index = 0; component_index < tensors_.size();
           ++component_index) {
        // TODO(allenl): Add a C API for summarizing tensors. Currently custom
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  7. tensorflow/c/eager/parallel_device/parallel_device.cc

      TFE_CustomDeviceTensorHandleMethods handle_methods;
      handle_methods.num_dims = &ParallelTensorNumDims;
      handle_methods.dim = &ParallelTensorDim;
      handle_methods.deallocator = &ParallelTensorDeallocator;
      handle_methods.summarize = &ParallelTensorSummarize;
      return TensorHandlePtr(TFE_NewCustomDeviceTensorHandle(
          context, parallel_device_name.c_str(), t_released->dtype(), t_released,
          handle_methods, status));
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 29 22:05:31 GMT 2023
    - 18.3K bytes
    - Viewed (0)
Back to top