- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 93 for mhlo (2 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_tf_xla_call_module_to_stablehlo_pass.cc
namespace mlir { namespace odml { static constexpr std::string_view kStablehloModuleDefaultEntryFuncName = "main"; static constexpr std::string_view kStablehloFuncNamePrefix = "XlaCallModule"; static constexpr char kShardingAttr[] = "mhlo.sharding"; static constexpr char kShardingName[] = "Sharding"; class RemoveCustomCallWithSharding : public OpRewritePattern<stablehlo::CustomCallOp> { using OpRewritePattern<stablehlo::CustomCallOp>::OpRewritePattern;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 25 09:43:18 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/prepare_tpu_computation_for_tf_export.cc
} }; void UpdateArgAttributes(mlir::func::FuncOp func) { OpBuilder builder(func.getBody()); for (int i = 0; i < func.getNumArguments(); ++i) { constexpr char kShardingAttr[] = "mhlo.sharding"; if (auto sharding = func.getArgAttrOfType<mlir::StringAttr>(i, kShardingAttr)) { if (!sharding.getValue().empty()) { BlockArgument arg = func.getArgument(i);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/reduce_while_operands.cc
#include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" #include "xla/mlir_hlo/mhlo/IR/hlo_ops.h" namespace mlir { namespace TFL { namespace { #define GEN_PASS_DEF_REDUCEWHILEOPERANDSPASS #include "tensorflow/compiler/mlir/lite/transforms/passes.h.inc" struct ReduceWhileOperandsPass
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_program_key.cc
#include "mlir/Support/LogicalResult.h" // from @llvm-project #include "tensorflow/compiler/mlir/tensorflow/ir/tf_device.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" #include "xla/mlir_hlo/mhlo/IR/hlo_ops.h" namespace mlir { namespace TFDevice { namespace { constexpr char kDeviceAttr[] = "device"; constexpr char kMiniBatchSplitsAttr[] = "mini_batch_splits";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.4K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_merge_variables_with_execute.cc
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h" #include "xla/mlir_hlo/mhlo/IR/hlo_ops.h" #define DEBUG_TYPE "tf-tpu-merge-variables-with-execute" namespace mlir { namespace TFTPU { namespace { constexpr char kAliasingAttr[] = "tf.aliasing_output";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 29 17:52:11 UTC 2024 - 27K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc
#include "tensorflow/compiler/mlir/tensorflow/utils/xla_rewrite_util.h" #include "tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.h" #include "xla/mlir_hlo/mhlo/IR/hlo_ops.h" #include "xla/xla.pb.h" #include "xla/xla_data.pb.h" #include "tensorflow/core/framework/tensor_shape.h" #include "tensorflow/core/framework/tensor_shape.pb.h" #include "tensorflow/core/framework/types.pb.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 29.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/passes.td
let constructor = "CreatePrepareTFPass()"; let dependentDialects = ["TFL::TensorFlowLiteDialect", "mlir::quant::QuantizationDialect", "mlir::quantfork::QuantizationForkDialect", "mhlo::MhloDialect" ]; let options = [ Option<"unfold_batch_matmul_", "unfold_batchmatmul", "bool", "true", "Unfold BatchMatMul into individual MatMul ops.">,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 20:30:06 UTC 2024 - 22.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/insert_calibration_statistics_saver.mlir
%cst = stablehlo.constant dense<0.000000e+00> : tensor<10x1x3xf32> %0 = stablehlo.dot_general %arg0, %arg1, batching_dims = [0] x [0], contracting_dims = [2] x [1], precision = [DEFAULT, DEFAULT] {mhlo.frontend_attributes = {grad_x = "false", grad_y = "false"}} : (tensor<10x1x1024xf32>, tensor<10x1024x3xf32>) -> tensor<10x1x3xf32> %1 = stablehlo.maximum %0, %cst : tensor<10x1x3xf32> return %1 : tensor<10x1x3xf32> }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 01:09:50 UTC 2024 - 24.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc
using mlir::OpOperand; using mlir::OpResult; using mlir::RankedTensorType; using mlir::StringAttr; using mlir::Value; using mlir::WalkResult; constexpr char kReplicateSharding[] = ""; constexpr char kShardingAttr[] = "mhlo.sharding"; constexpr char kUseSpmdAttr[] = "use_spmd_for_xla_partitioning"; constexpr char kAliasingAttr[] = "tf.aliasing_output"; constexpr char kNumCoresPerReplicaAttr[] = "num_cores_per_replica";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 02:01:13 UTC 2024 - 28.9K bytes - Viewed (0)