Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 330 for constexpr (0.2 sec)

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

    namespace {
    struct MarkInputOutputAliasesPass
        : public impl::MarkInputOutputAliasesPassBase<MarkInputOutputAliasesPass> {
      void runOnOperation() override;
    };
    
    constexpr char kAliasingAttr[] = "tf.aliasing_output";
    constexpr int kUnassigned = -1;
    
    struct AliasInfo {
      AliasInfo() : input_index(kUnassigned), output_index(kUnassigned) {}
      int input_index;
      int output_index;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 04:14:26 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/init_mlir.cc

    InitMlir::InitMlir(int *argc, char ***argv) {
      llvm::setBugReportMsg(
          "TensorFlow crashed, please file a bug on "
          "https://github.com/tensorflow/tensorflow/issues with the trace "
          "below.\n");
    
      constexpr char kSeparator[] = "--";
    
      // Find index of separator between two sets of flags.
      int pass_remainder = 1;
      bool split = false;
      for (int i = 0; i < *argc; ++i) {
        if (llvm::StringRef((*argv)[i]) == kSeparator) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 10:03:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tpu_dynamic_layout_pass.cc

    #include "tensorflow/core/protobuf/tpu/compile_metadata.pb.h"
    #include "tensorflow/core/util/device_name_utils.h"
    
    namespace mlir {
    namespace TFTPU {
    
    namespace {
    
    constexpr char kDeviceAttr[] = "device";
    constexpr char kDeviceCPU[] = "CPU";
    constexpr char kFuncDeviceAttr[] = "tf.device";
    
    struct TPUDynamicLayoutPass
        : public TF::PerFunctionAggregateAnalysisConsumerPass<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/bridge.cc

      CreateTFStandardPipeline(bridge, pipeline_options);
    
      mlir::StatusScopedDiagnosticHandler diag_handler(
          module.getContext(), /*propagate=*/false,
          /*filter_stack=*/!VLOG_IS_ON(1));
    
      constexpr char kBridgeComponent[] = "TFXLABridge";
      if (enable_logging || VLOG_IS_ON(1)) {
        tensorflow::DumpMlirOpToFile(kStandardPipelineBefore, module, "", &bridge);
        if (VLOG_IS_ON(2)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 09 17:16:05 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc

    using DeviceMap = DenseMap<StringAttr, int64_t>;
    constexpr int64_t kAnyDevice = 0;
    constexpr ResourceAndDevice kInvalidResourceAndDevice{kInvalidResourceId,
                                                          kAnyDevice};
    constexpr ResourceAndDevice kUnknownResourceAndDevice{kUnknownResourceId,
                                                          kAnyDevice};
    
    constexpr char kDeviceAttr[] = "device";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/drop_while_shape_invariant.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_device.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    
    namespace mlir {
    namespace TF {
    
    namespace {
    
    constexpr char kShapeInvariantAttr[] = "shape_invariant";
    
    #define GEN_PASS_DEF_DROPWHILESHAPEINVARIANTPASS
    #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
    
    class DropWhileShapeInvariantPass
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc

    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";
    
    #define GEN_PASS_DEF_TPUSHARDINGIDENTIFICATIONPASS
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

    // Device coordinates are defined as (x, y, z, core), thus resulting in a rank 4
    // topology.
    constexpr int kTPUTopologyRank = 4;
    
    constexpr char kDeviceTPUSystem[] = "TPU_SYSTEM";
    constexpr char kDeviceTPU[] = "TPU";
    constexpr char kTPUReplicatedCore[] = "TPU_REPLICATED_CORE";
    constexpr char kTPUReplicatedHost[] = "TPU_REPLICATED_HOST";
    constexpr char kBadIntArrayElementMsg[] =
        "bad '{0}' attribute at index {1}, not an int";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/cc/post_calibration.h

    // in the input module op.
    class PostCalibrationComponent : public Component {
     public:
      // Name of the post-training quantization post-calibration step. Used for
      // debugging purposes.
      static constexpr absl::string_view kName = "quant_ptq_post_calibration";
    
      explicit PostCalibrationComponent(absl::Nonnull<MLIRContext*> ctx);
    
      absl::StatusOr<ModuleOp> Run(
          ModuleOp module_op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 12:53:33 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/lift_variables.cc

    using ::tensorflow::Session;
    using ::tensorflow::Status;
    using ::tensorflow::StatusOr;
    using ::tensorflow::Tensor;
    using ::tensorflow::Var;
    
    namespace {
    
    constexpr char kResourceNameArgAttr[] = "tf.resource_name";
    constexpr char kSavedModelArgAttr[] = "tf_saved_model.bound_input";
    
    LogicalResult LiftVariablesFromSession(
        ModuleOp module, Session* session,
        const SmallSet<StringRef, 4>& resource_names) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top