Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 131 for constexpr (0.33 sec)

  1. tensorflow/cc/saved_model/loader.cc

            "stage",
        },
        // Scale of 10, power of 1.8 with bucket count 37 (~258 minutes).
        monitoring::Buckets::Exponential(10, 1.8, 37));
    
    constexpr char kLoadAttemptFail[] = "fail";
    constexpr char kLoadAttemptSuccess[] = "success";
    // `tensorflow::LoadSavedModel` API label.
    constexpr char kCCLoadLabel[] = "cc_load";
    
    uint64 GetLatencyMicroseconds(const uint64 start_microseconds) {
      const uint64 end_microseconds = EnvTime::NowMicros();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 04:36:00 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

    #include "tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/sparsecore_passes.h.inc"
    
    static constexpr char kEmbeddingPipelining[] = "_embedding_pipelining";
    static constexpr char kEmbeddingForward[] = "forward";
    static constexpr char kEmbeddingBackward[] = "backward";
    static constexpr char kDevice[] = "device";
    static constexpr llvm::StringRef kTpuCompilationStatus =
        "_tpu_compilation_status";
    
    namespace mlir {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/resource_device_inference.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h"
    
    #define DEBUG_TYPE "tf-resource-device-inference"
    
    namespace mlir {
    namespace TF {
    
    namespace {
    constexpr char kDeviceAttr[] = "device";
    constexpr char kFuncDeviceAttr[] = "tf.device";
    
    #define GEN_PASS_DEF_RESOURCEDEVICEINFERENCEPASS
    #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 03:47:00 UTC 2023
    - 13.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/unfreeze_constants.cc

    using ::mlir::tf_saved_model::kTfSavedModelInitializerTypeAttr;
    using ::mlir::tf_saved_model::SessionInitializerOp;
    
    constexpr absl::string_view kDefaultConstName = "const";
    
    // The default lower threshold for the constant size for unfreezing.
    constexpr int64_t kDefaultConstantSizeThresholdInBytes = 64 * 1024;  // 64KiB
    
    // This pass "unfreezes" constants found in the moudle and converts them to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 16 15:04:53 UTC 2023
    - 14K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc

    // We therefore check exemplary 3 axes {rhs_, input_, }quantization_axis from
    // previous accumulations.
    constexpr std::array<absl::string_view, 3> kQuantizationAxisAttrs = {
        "input_quantization_axis", "quantization_axis", "rhs_quantization_axis"};
    
    // Common suffixes for attributes used in FillQuantizationAttributes.
    constexpr std::array<absl::string_view, 2> kSuffixes = {"_min_val", "_max_val"};
    
    Attribute GetWindowStridesValue(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_merge_variables_with_execute.cc

    #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";
    constexpr char kDeviceAttr[] = "device";
    constexpr char kFuncDeviceAttr[] = "tf.device";
    
    #define GEN_PASS_DEF_TPUMERGEVARIABLESWITHEXECUTEPASS
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 17:52:11 UTC 2024
    - 27K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc

    #include "xla/mlir_hlo/utils/hlo_utils.h"
    #include "xla/xla_data.pb.h"
    
    namespace mlir {
    namespace mhlo {
    
    namespace {
    
    constexpr absl::string_view kGroupSizeAttrName =
        "tf2xla.collective_info.group_size";
    constexpr absl::string_view kGroupKeyAttrName =
        "tf2xla.collective_info.group_key";
    
    #define GEN_PASS_DEF_LEGALIZETFCOLLECTIVE
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

    using mlir::SymbolTable;
    using mlir::Value;
    using mlir::func::FuncOp;
    using tsl::StatusOr;
    
    namespace {
    
    constexpr char kDeviceAttr[] = "tf.device";
    constexpr char kResourceArgUniqueIdAttr[] = "tf._resource_arg_unique_id";
    constexpr char kEntryFuncAttr[] = "tf.entry_function";
    constexpr char kAliasingAttr[] = "tf.aliasing_output";
    
    // OpOrArgLocNameMapper that legalizes the returned name.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

    using mlir::SymbolTable;
    using mlir::Value;
    using mlir::func::FuncOp;
    using tsl::StatusOr;
    
    namespace {
    
    constexpr char kDeviceAttr[] = "tf.device";
    constexpr char kResourceArgUniqueIdAttr[] = "tf._resource_arg_unique_id";
    constexpr char kEntryFuncAttr[] = "tf.entry_function";
    constexpr char kAliasingAttr[] = "tf.aliasing_output";
    
    // OpOrArgLocNameMapper that legalizes the returned name.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/duplicate_shape_determining_constants.cc

          "CompileTimeConstantOperand should have at least one operand index.");
    
      using OpType = OpT;
    
      // Returns the indices of operands that should be compile time constants.
      static constexpr std::array<int, sizeof...(OperandIdx)> OperandIndices() {
        return {OperandIdx...};
      }
    };
    
    // Finds all op of type `T::OpType` `func_op` and recursively duplicates
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top