Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 152 for more (0.04 sec)

  1. tensorflow/compiler/mlir/lite/tf_tfl_passes.h

    void AddPostQuantizationStableHloToTfPasses(
        const mlir::TFL::PassConfig& pass_config,
        mlir::OpPassManager& pass_manager);
    
    // This is the early part of the conversion in isolation. This enables a caller
    // to inject more information in the middle of the conversion before resuming it
    // (like freezing variables for example).
    void AddPreVariableFreezingTFToTFLConversionPasses(
        const mlir::TFL::PassConfig& pass_config,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 01 06:14:07 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. tensorflow/c/checkpoint_reader.h

    #include <memory>
    #include <string>
    
    #include "tensorflow/c/tf_status_helper.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/platform/status.h"
    #include "tensorflow/core/platform/types.h"
    #include "tensorflow/core/util/tensor_bundle/tensor_bundle.h"
    #include "tensorflow/core/util/tensor_slice_reader.h"
    
    namespace tensorflow {
    namespace checkpoint {
    
    class TensorSliceReader;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 12 08:49:52 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  3. tensorflow/c/eager/unified_api_testutil.h

                                 absl::Span<AbstractTensorHandle* const> inputs,
                                 std::vector<AbstractTensorHandle*>* params);
    
    // A callable that takes tensor inputs and returns zero or more tensor outputs.
    using Model = std::function<Status(AbstractContext*,
                                       absl::Span<AbstractTensorHandle* const>,
                                       absl::Span<AbstractTensorHandle*>)>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 13:57:45 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.h

    // will fail. If `prefix` is nullptr, the default prefixing behaviour takes
    // place, see TF_AddGradients for more details.
    //
    // WARNING: This function does not yet support all the gradients that python
    // supports. See
    // https://www.tensorflow.org/code/tensorflow/cc/gradients/README.md
    // for instructions on how to add C++ more gradients.
    TF_CAPI_EXPORT void TF_AddGradientsWithPrefix(TF_Graph* g, const char* prefix,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.h

    // Permutation from the OIHW (== (output features, input features, height,
    // width)) tensor format to HWIO. This is commonly used to transpose convolution
    // weights represented as OIHW format to HWIO, which is more desirable for
    // certain downstream optimization passes (e.g. XLA).
    inline constexpr std::array<int64_t, 4> kOihwToHwioPermutation = {2, 3, 1, 0};
    
    // Returns true if the value has static shape.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/python/type_casters.h

    #include "tensorflow/compiler/mlir/quantization/tensorflow/exported_model.pb.h"
    #include "tensorflow/compiler/mlir/quantization/tensorflow/quantization_options.pb.h"
    #include "tensorflow/core/framework/graph.pb.h"
    #include "tensorflow/core/protobuf/meta_graph.pb.h"
    #include "tensorflow/python/lib/core/pybind11_lib.h"
    #include "tsl/platform/protobuf.h"  // IWYU pragma: keep
    
    namespace pybind11::detail {
    namespace internal {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/flatbuffer_import.h

    // `base_loc` is used for error reporting and debug info.
    // If ordered_output_arrays is not empty, then the imported mlir function will
    // only return nodes in ordered_output_arrays in the same order. Returns nullptr
    // on failure, and more specific errors will be emitted via the context.
    // If `use_external_constant` is true, it will create `tfl.external_const`
    // instead of `tfl.const`.
    // If `experimental_prune_unreachable_nodes_unconditionally` is true, nodes that
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. tensorflow/c/kernels.h

    // PlatformDeviceId if a mapping between between TfDeviceId and PlatformDeviceId
    // is set; otherwise returns the id in the device name. Please refer to
    // tensorflow/tsl/framework/device_id.h for more details.
    // For mobile or slim build, returns the id in the device name.
    TF_CAPI_EXPORT extern int TF_GetDeviceId(TF_OpKernelContext* ctx);
    
    // Returns the Device Name of the device that the context possesses.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 09 22:46:22 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/cc/pass_pipeline.h

    // converting them to NHWC formats along with extra optimizations such as
    // constant folding the transpose->convolution pattern. This is useful when
    // downstream pipeline (e.g. XLA) is more optimized when accepting NHWC formats.
    void AddProcessNchwTensorPasses(OpPassManager& pm);
    
    // Registers quantization pass pipelines. This is only required when running
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 12:53:33 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h

          // TODO(b/172517537): check if other tensors should go through this
          // check too.
          op.emitError() << "Input tensor [" << input_index
                         << "] is a state tensor, but has more than one use.";
          return failure();
        }
        auto stats = mlir::dyn_cast<DenseFPElementsAttr>(stats_op.getLayerStats());
        if (!stats || stats.getNumElements() != 2) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 28K bytes
    - Viewed (0)
Back to top