Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 330 for constexpr (0.17 sec)

  1. tensorflow/cc/saved_model/saved_model_bundle_lite_test.cc

    namespace tensorflow {
    namespace {
    
    constexpr char kTestDataPbTxt[] =
        "cc/saved_model/testdata/half_plus_two_pbtxt/00000123";
    constexpr char kTestDataMainOp[] =
        "cc/saved_model/testdata/half_plus_two_main_op/00000123";
    constexpr char kTestDataSharded[] =
        "cc/saved_model/testdata/half_plus_two/00000123";
    constexpr char kTestDataInitOpV2[] =
        "cc/saved_model/testdata/half_plus_two_v2/00000123";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 19:16:58 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/tftext_utils.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    
    namespace mlir {
    namespace TFL {
    
    namespace {
    
    constexpr char kNgrams[] = "tftext:Ngrams";
    constexpr char kWhitespaceTokenizer[] = "tftext:WhitespaceTokenizer";
    constexpr char kCustomSgnnProjection[] = "tftext:custom:SgnnProjection";
    constexpr char kTFImplements[] = "tf._implements";
    
    using mlir::TF::FuncAttr;
    using mlir::TF::StringType;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/bridge.h

    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "tensorflow/core/lib/core/status.h"
    
    namespace mlir {
    namespace TF {
    
    inline constexpr char kStandardPipelineBefore[] = "standard_pipeline_before";
    inline constexpr char kStandardPipelineAfter[] = "standard_pipeline_after";
    
    // Runs all passes involved in transforming or optimizing an MLIR graph without
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 24 22:46:43 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/experimental/tac/hardwares/gpu_hardware.cc

             kCrossHardwareTransferFixedCost;
    }
    
    namespace {
    // GPU
    constexpr float kGPUArithmeticUnitCost = 0.2;
    
    // The copy can be non-consectutive copy. This is just fake data.
    constexpr float kGPUCopyUnitCost = 0.2;
    
    // Default values.
    constexpr float kGPUDefaultFixedValuedCost = 10000.0;
    
    std::unique_ptr<TargetHardware> CreateGpuHardware() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tpu_cluster_cleanup_attributes.cc

    #include "tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.h"
    
    namespace mlir {
    namespace TFTPU {
    
    namespace {
    
    constexpr char kDeviceAttr[] = "device";
    constexpr char kClassAttr[] = "_class";
    
    #define GEN_PASS_DEF_TPUCLEANUPCLUSTERATTRIBUTESPASS
    #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
    
    class TPUCleanupClusterAttributesPass
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/passes/verify_clustering_pass_test.cc

     private:
      mlir::MLIRContext context_;
      mlir::OwningOpRef<mlir::ModuleOp> module_;
      std::unique_ptr<mlir::PassManager> pm_;
    };
    
    TEST_F(VerifyClusteringPassTest, OnlyTfFunctionalPasses) {
      static constexpr char kMlirModuleStr[] = R"(
      module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
        func.func @main() -> tensor<1xi32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 17:03:53 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/experimental/tac/hardwares/target_hardware.h

    namespace mlir {
    namespace TFL {
    namespace tac {
    
    // Default fixed values for ops.
    constexpr static float kDefaultFixedValuedCost = 1000000.0;
    
    // This is just fake data.
    constexpr static float kCrossHardwareTransferPerByteCost = 5.0f;
    
    // This is just fake data.
    constexpr static float kCrossHardwareTransferFixedCost = 10.f;
    
    // Interface for an Operation capabilities which should be tied to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 09 21:39:59 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback.h

     public:
      using Base::Base;
      static constexpr StringLiteral name = "tfrt.tf_tensor";
    };
    
    // The MLIR type represents a tensorflow::Allocator.
    class TFAllocatorType
        : public Type::TypeBase<TFAllocatorType, Type, TypeStorage> {
     public:
      using Base::Base;
      static constexpr StringLiteral name = "tfrt.tf_allocator";
    };
    
    }  // namespace fallback
    }  // namespace tfrt
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 07:17:01 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  9. tensorflow/c/kernels/summary_op_benchmark_test.cc

      return g;
    }
    
    // Macro used to parse initializer list for tensorshape
    #define DIMARGS(...) \
      { __VA_ARGS__ }
    // // Random parameters for testing
    constexpr char longTagParam[] = "LONGTAG____________________________";
    constexpr float largeValueParam = 2352352.2623433;
    
    #define BM_ScalarSummaryDev(device, dims, name, tag, value)                 \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 25 00:59:20 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types_test.cc

    namespace {
    
    using ::mlir::DialectRegistry;
    using ::mlir::MLIRContext;
    using ::mlir::ModuleOp;
    using ::mlir::OwningOpRef;
    using ::tensorflow::monitoring::testing::CellReader;
    using ::testing::Test;
    
    static constexpr char kMetricsName[] =
        "/tensorflow/core/tf2xla/tf_quant_op_count";
    
    class LegalizeTfTypesTest : public Test {
     protected:
      void CreateModule(const char* module_string) {
        DialectRegistry mlir_registry;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 09:05:02 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top