Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 154 for _xla (0.03 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tpu_resource_partitioning.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h"
    #include "tensorflow/compiler/mlir/tensorflow/transforms/passes.h"
    #include "tensorflow/compiler/mlir/tensorflow/utils/parallel_execute_util.h"
    #include "xla/xla_data.pb.h"
    
    namespace mlir {
    namespace TFTPU {
    namespace {
    
    #define GEN_PASS_DEF_TPURESOURCEREADSWRITESPARTITIONINGPASS
    #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/passes/clustering_passes.td

    }
    
    def XlaBroadcastPass : Pass<"tf-xla-broadcast", "mlir::func::FuncOp"> {
      let summary = "Moves a broadcast from host into XLA, encoded as XlaAllReduce";
    
      let description = [{
        This pass moves brodcasts from host TF ops into XLA. This enables use of
        the inter-device network, which is faster than the inter-host network.
        Broadcasts in XLA are encoded as XlaAllReduce. An all_reduce with all 0
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/cc/BUILD

            "@llvm-project//mlir:FuncDialect",
            "@llvm-project//mlir:Pass",
            "@llvm-project//mlir:ReconcileUnrealizedCasts",
            "@llvm-project//mlir:Transforms",
            "@local_xla//xla/mlir_hlo:mhlo_passes",
        ],
    )
    
    cc_library(
        name = "pre_calibration",
        srcs = ["pre_calibration.cc"],
        hdrs = ["pre_calibration.h"],
        compatible_with = get_compatible_with_portable(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 17K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/rearrange_function_argument_pass_test.cc

    #include "tensorflow/cc/ops/functional_ops.h"
    #include "tensorflow/cc/ops/standard_ops.h"
    #include "tensorflow/compiler/jit/encapsulate_util.h"
    #include "tensorflow/compiler/tf2xla/rearrange_function_argument.h"
    #include "xla/test.h"
    #include "tensorflow/core/common_runtime/device_factory.h"
    #include "tensorflow/core/common_runtime/function.h"
    #include "tensorflow/core/framework/common_shape_fns.h"
    #include "tensorflow/core/framework/function.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/duplicate_shape_determining_constants.cc

    // similar manner.
    //
    // This pass may be used to avoid placing shape-determining constants in the CPU
    // graph and pass them as arguments to the TPU graph (via `TPUPartitionedCall`).
    // If this happens, the XLA compiler cannot recognize such arguments as
    // constants and may result in an error.
    //
    // A set of predefined ops and operand indices is used to determine whether an
    // operand is a target for constant duplication.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize.cc

                         "Uses TF ops that mimic quantization behavior"),
              clEnumValN(OpSet::XLA, "XLA", "Uses TF XLA ops"),
              clEnumValN(OpSet::UNIFORM_QUANTIZED, "UNIFORM_QUANTIZED",
                         "Uses TF Uniform Quantized ops"))};
    };
    
    bool QuantizePass::shouldKeepUnusedQdqPattern() {
      return target_opset_ == OpSet::XLA &&
             (quant_specs_.weight_only_quantization ||
              quant_specs_.weight_quantization);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/tpu_sharding_identification.mlir

      func.return
    }
    
    // CHECK-LABEL: func @empty_func() {
    func.func @empty_func() {
      func.return
    }
    
    // -----
    
    // Tests with a block argument inputs/outputs with no xla sharding op attached
    // gets default maximal(0) sharding configuration.
    // CHECK-LABEL: func @check_default_sharding_for_block_arg_inputs_outputs
    func.func @check_default_sharding_for_block_arg_inputs_outputs(%arg0: tensor<*xi32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 19:07:52 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/python/mlir.cc

    #include "tensorflow/compiler/mlir/tosa/tf_tfl_passes.h"
    #include "tensorflow/compiler/mlir/tosa/tfl_passes.h"
    #include "tensorflow/compiler/mlir/tosa/transforms/passes.h"
    #include "xla/mlir/framework/transforms/passes.h"
    #include "xla/mlir_hlo/mhlo/transforms/passes.h"
    #include "xla/status_macros.h"
    #include "tensorflow/core/common_runtime/eager/context.h"
    #include "tensorflow/core/common_runtime/function_body.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:16:49 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/odml_to_stablehlo.cc

    #include "tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.h"
    #include "tensorflow/compiler/mlir/tf2xla/transforms/passes.h"
    #include "xla/mlir/framework/transforms/passes.h"
    #include "xla/mlir_hlo/mhlo/IR/register.h"
    #include "xla/mlir_hlo/mhlo/transforms/passes.h"
    #include "tensorflow/core/platform/errors.h"
    #include "tensorflow/core/platform/status.h"
    #include "tensorflow/core/platform/statusor.h"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:16:49 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/passes.h

    // variables instead).
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateRemoveVariableInitializationByConstPass();
    
    // Creates a pass that converts Tensorflow Xla ops to non-Xla ops.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateConvertTfXlaOpToTfOpPass();
    
    // Creates a pass that converts TPU models for CPU by removing TPU related ops
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top