Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 99 for _xla (0.03 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/quantize_preprocess.cc

    #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_passes.h"
    #include "tensorflow/compiler/mlir/tensorflow/utils/error_util.h"
    #include "xla/mlir_hlo/mhlo/transforms/passes.h"
    #include "tensorflow/core/public/session.h"
    
    namespace tensorflow {
    namespace quantization {
    
    using ::mlir::quant::stablehlo::AddXlaCallModuleOpDeserializationPasses;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 12:49:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/quantize_model.py

              in (quant_opts_pb2.OpSet.XLA, quant_opts_pb2.OpSet.STABLEHLO)
              and quantization_options.quantization_method.preset_method
              == _PresetMethod.METHOD_STATIC_RANGE_INT8
          )
      ):
        raise ValueError(
            'Currently, per-channel quantization is supported for Uniform Quantized'
            ' opset, weight only quantization, or XLA/StableHLO opset with static'
            ' range quantization.'
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

    limitations under the License.
    ==============================================================================*/
    
    // This is the legalization pattern definition file for TF to XLA.
    
    include "mlir/IR/OpBase.td"
    include "mlir/Dialect/Shape/IR/ShapeOps.td"
    include "mlir/Dialect/Func/IR/FuncOps.td"
    include "mlir/Dialect/Tensor/IR/TensorOps.td"
    include "stablehlo/dialect/ChloOps.td"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/util.cc

    #include "mlir/Transforms/DialectConversion.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    #include "xla/mlir_hlo/mhlo/IR/hlo_ops.h"
    
    namespace mlir {
    namespace odml {
    
    bool IsIotaAttr(ArrayRef<int64_t> arr, int64_t size) {
      if (arr.size() != size) return false;
      int64_t iota = 0;
      for (auto s : arr) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/scatter.h

    #include "mlir/Transforms/DialectConversion.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/util.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    #include "xla/mlir_hlo/mhlo/IR/hlo_ops.h"
    
    namespace mlir {
    namespace odml {
    
    // Convert updates into canonical form as expected by tf.scatter ops.
    //
    // tf.scatter expects `update_window_dims` to be the trailing dimensions.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/unfuse_batch_norm_pass.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.h"
    #include "xla/mlir_hlo/mhlo/IR/hlo_ops.h"
    
    namespace mlir {
    namespace odml {
    
    // Broadcasts the 1D value tensor 'value_1d' to the shape of 'result_type'. If
    // 'shape_value' is initialized, creates a dynamic broadcast, otherwise creates
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_deserialization.cc

    #include "tensorflow/compiler/mlir/tensorflow/utils/stablehlo_custom_call.h"
    #include "tensorflow/compiler/mlir/tensorflow/utils/xla_call_module_attrs.h"
    #include "tensorflow/compiler/tf2xla/kernels/xla_call_module_loader.h"
    #include "xla/mlir_hlo/mhlo/IR/hlo_ops.h"  // IWYU pragma: keep
    #include "tsl/platform/statusor.h"
    
    namespace mlir {
    namespace TF {
    namespace {
    
    #define GEN_PASS_DEF_XLACALLMODULEDESERIALIZATIONPASS
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.cc

    #include "absl/container/flat_hash_set.h"
    #include "absl/container/inlined_vector.h"
    #include "absl/strings/str_cat.h"
    #include "absl/strings/str_join.h"
    #include "absl/strings/str_split.h"
    #include "llvm/ADT/STLExtras.h"
    #include "xla/status_macros.h"
    #include "tensorflow/core/framework/tensor_shape.pb.h"
    #include "tensorflow/core/framework/types.h"
    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/lib/core/errors.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_variable_runtime_reformatting.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h"
    #include "tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.h"
    #include "tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.h"
    #include "xla/mlir_hlo/mhlo/IR/hlo_ops.h"
    #include "tensorflow/core/framework/tensor.h"
    #include "tensorflow/core/framework/tensor_shape.pb.h"
    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/platform/random.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/internal/passes/BUILD

            "@llvm-project//mlir:Rewrite",
            "@llvm-project//mlir:Support",
            "@llvm-project//mlir:TransformUtils",
            "@local_xla//xla:xla_data_proto_cc",
            "@local_xla//xla/client:sharding_builder",
        ],
    )
    
    cc_library(
        name = "hoist_broadcast_read",
        srcs = ["hoist_broadcast_read.cc"],
        textual_hdrs = [
            "clustering_passes.h.inc",
        ],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 17:50:14 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top