Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for constexpr (0.25 sec)

  1. tensorflow/compiler/aot/codegen_test_h.golden

      static constexpr size_t kResultIndex = 0;
    
      // Shapes of the input arguments.
      static constexpr int32_t kArg0Shapes[] = {
    1, 2
      };
      static constexpr int32_t kArg1Shapes[] = {
    3, 4
      };
      static constexpr int32_t kArg2Shapes[] = {
    1
      };
      static constexpr int32_t kArg3Shapes[] = {
    1
      };
      static constexpr int32_t kArg4Shapes[] = {
    5
      };
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

    using tpu::FunctionToHloArgs;
    using tpu::MlirToHloArgs;
    using tpu::ShardingAndIndex;
    using tpu::TPUCompileMetadataProto;
    
    static constexpr char kCompilationTimeStreamzName[] =
        "/tensorflow/core/tf2xla/api/v2/phase2_compilation_time";
    static constexpr char kFullBridge[] = "full_bridge";
    static constexpr char kCompilationStatusStreamzName[] =
        "/tensorflow/core/tf2xla/api/v2/phase2_compilation_status";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints_test.cc

    using ::testing::IsEmpty;
    using ::testing::IsNull;
    using ::testing::NotNull;
    using ::testing::Optional;
    using ::tsl::testing::StatusIs;
    
    using AttrsAndConstraintsTest = ::mlir::quant::QuantizationTestBase;
    
    constexpr absl::string_view kModuleStatic = R"mlir(
      module {
        func.func @main(%arg0: tensor<1x1024xf32>, %arg1: tensor<1024x3xf32>) -> tensor<1x3xf32> attributes {_from_xla_call_module} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph_test.cc

    using ::tsl::monitoring::testing::Histogram;
    
    static constexpr char kCompilationTimeStreamzName[] =
        "/tensorflow/core/tf2xla/api/v1/phase2_compilation_time";
    
    static constexpr char kCompilationStatusStreamzName[] =
        "/tensorflow/core/tf2xla/api/v1/phase2_compilation_status";
    
    static constexpr char kPlatformName[] = "Host";
    constexpr char kEntryFuncName[] = "main";
    
    static constexpr char kMlirModuleStr[] = R"(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.h

    #include "tensorflow/compiler/mlir/tensorflow/utils/xla_call_module_attrs.h"
    
    namespace mlir::quant {
    
    constexpr char kAttrMapAttribute[] = "attr_map";
    
    // Name of the string attribute attached to `XlaCallModuleOp`, which is the
    // textproto representation of `Method`.
    inline constexpr StringRef kQuantizationMethodAttr = "_quantization_method";
    
    // Permutation from the NHWC tensor format to NCHW. This is an inverse
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_metadata_utils.cc

    namespace mlir {
    namespace TFTPU {
    namespace {
    constexpr char kStepMarkerLocationAttr[] = "step_marker_location";
    constexpr char kUseXlaSpmdAttr[] = "use_spmd_for_xla_partitioning";
    
    constexpr char kBadStringArrayElementMsg[] =
        "bad '{0}' attribute at index {1}, not a string";
    constexpr char kBadArrayElementMsg[] =
        "bad '{0}' attribute at index {1} with value '{2}': failed to parse to {3}";
    constexpr char kBadArrayAttrLengthMsg[] =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/common/lift_as_function_call_test.cc

    using ::testing::SizeIs;
    using ::testing::StrEq;
    using ::tsl::protobuf::util::MessageDifferencer;
    using ::tsl::testing::IsOk;
    using ::tsl::testing::StatusIs;
    
    using LiftAsFunctionCallTest = QuantizationTestBase;
    
    constexpr absl::string_view kModuleLifted = R"mlir(
      module {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  8. 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)
  9. tensorflow/compiler/mlir/quantization/common/uniform_quantized_types_test.cc

          dyn_cast_or_null<IntegerType>(qi8_type.getStorageType())));
    }
    
    using IsOpFullyQuantizedTest = QuantizationTestBase;
    
    TEST_F(IsOpFullyQuantizedTest, TrueIfOpFullyQuantized) {
      constexpr absl::string_view kFullyQuantizedAdd = R"mlir(
        func.func @fully_quantized_add(%arg0: tensor<2x!quant.uniform<i8:f32, 1.000000e+00:0>>) -> tensor<2x!quant.uniform<i8:f32, 1.000000e+00:0>> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc

    #include "tensorflow/compiler/mlir/lite/transforms/passes.h.inc"
    
    constexpr char kTFAPIImplements[] = "tf.api_implements";
    constexpr char kTFTextAPIPrefix[] = "tftext:";
    constexpr char kCustomSSDPostprocessing[] = "TFLite_Detection_PostProcess";
    constexpr char kTfNMSPadded[] = "non_max_suppression_padded_v2";
    constexpr char kCustomMaxUnpooling[] = "addons:MaxUnpooling2D";
    constexpr char kCustomDenseImageWarp[] = "addons:DenseImageWarp";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
Back to top