Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 248 for more (0.17 sec)

  1. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.h

    #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    
    namespace mlir {
    namespace TFL {
    namespace tac {
    
    // TODO(renjieliu): add more patterns.
    
    // This basically:
    // Pack => (Concat -> Reshape)
    struct LowerPackIntoConcatReshape : public OpRewritePattern<TFL::PackOp> {
      using OpRewritePattern<TFL::PackOp>::OpRewritePattern;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 03 16:37:16 UTC 2022
    - 4.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/grappler/grappler.h

    //     plugin or core implementation:
    //     * Struct that should be filled by the plugin: `TP_OptimizerConfigs`,
    //       `TP_Optimizer`, `TP_OptimizerRegistrationParams`
    //     * Struct that should be filled by the proper: `TF_GrapplerItem`,
    //       `TF_GraphProperties`, `TF_FunctionLibraryDefinition`
    //   * We use `struct_size` for version checking. It should be set both by
    //     core and the plugin.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 03 18:08:43 UTC 2022
    - 12.5K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. tensorflow/compiler/mlir/python/mlir.h

    // Loads a TFLite flatbuffer, convert to TOSA for backend compilation and
    // produce an MLIR bytecode file as output.
    // TODO(jpienaar): Refactor this when we use more implicit module passing
    // between calls to avoid serialization overhead.
    void ExperimentalTFLiteToTosaBytecode(
        const std::string &flatbuffer_file, const std::string &tosa_bytecode_file,
        bool use_external_constant,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 23:44:01 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. tensorflow/cc/framework/scope_internal.h

      std::shared_ptr<ShapeRefiner> refiner_ = nullptr;
    
      // If scope_used_ is not nullptr, op_name_ should be empty and
      // GetUniqueNameForOp can only be called once on this scope. More calls to
      // GetUniqueNameForOp will cause an error status to be set on this scope.
      std::shared_ptr<bool> scope_used_ = nullptr;
    
      const std::vector<Operation> control_deps_;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 15:46:43 UTC 2022
    - 5.1K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/stream_executor/stream_executor.h

    //   * Struct prefix indicates whether struct fields should be filled by the
    //     plugin or core implementation:
    //     * SE_ : set/filled by core unless explicitly marked otherwise.
    //     * SP_ : set/filled by plugin unless explicitly marked otherwise.
    //   * We use `struct_size` for version checking. It is exempt from the `SE/SP`
    //     rule above and should be set both by core and the plugin.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 24 08:40:35 UTC 2022
    - 21.6K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api.h

    TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_NewTensorHandle(const TF_Tensor* t,
                                                                TF_Status* status);
    // Indicates that the caller will not be using `h` any more.
    TF_CAPI_EXPORT extern void TFE_DeleteTensorHandle(TFE_TensorHandle* h);
    TF_CAPI_EXPORT extern TF_DataType TFE_TensorHandleDataType(TFE_TensorHandle* h);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 22.8K bytes
    - Viewed (0)
  9. tensorflow/c/eager/gradients.h

    //     grad_outputs[0]->Ref();
    //     grad_outputs[1]->Ref();
    //     return OkStatus();
    //   }
    //   ~AddGradientFunction() override {}
    // };
    //
    // GradientFunction* AddRegisterer(const ForwardOperation& op) {
    //   // More complex gradient functions can use inputs/attrs etc. from the
    //   // forward `op`.
    //   return new AddGradientFunction;
    // }
    //
    // Status RegisterGradients(GradientRegistry* registry) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 26 10:27:05 UTC 2022
    - 6.9K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/filesystem_interface.h

    /// pointers) owned by core TensorFlow and guaranteed to not be `nullptr`.
    ///
    /// To ensure ABI and API compatibility, we have out-of-bounds data that is used
    /// by both core TensorFlow and the plugin at load time. We don't include this
    /// data in the structures here to prevent cases when padding/packing enabled by
    /// different compiler options breaks compatibility. For more details about how
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 27 17:36:54 UTC 2022
    - 53.1K bytes
    - Viewed (0)
Back to top