Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 131 for constexpr (0.16 sec)

  1. tensorflow/cc/saved_model/saved_model_bundle_test.cc

    constexpr char kTestDataV2DebugInfo[] =
        "cc/saved_model/testdata/x_plus_y_v2_debuginfo";
    constexpr char kTestFuzzGeneratedNegativeShape[] =
        "cc/saved_model/testdata/fuzz_generated/negative_shape";
    constexpr char kTestFuzzGeneratedConstWithNoValue[] =
        "cc/saved_model/testdata/fuzz_generated/const_with_no_value";
    constexpr char kTestFuzzGeneratedBadNodeAttr[] =
        "cc/saved_model/testdata/fuzz_generated/bad_node_attr";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 19:16:58 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/compiler/mlir/quantization/stablehlo/ops/stablehlo_op_quant_spec_test.cc

    using ::testing::UnorderedElementsAre;
    
    using IsOpQuantizableStableHloTest = ::mlir::quant::QuantizationTestBase;
    
    // Quantizable ops: constants
    // Non-quantizable ops: normal StableHLO ops and terminators
    constexpr absl::string_view kModuleConstantAdd = R"mlir(
      module {
        func.func @constant_add() -> (tensor<3x2xf32>) {
          %cst1 = stablehlo.constant dense<2.4> : tensor<3x2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 07:19:09 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/cc/save_variables_test.cc

        EXPECT_TRUE(module_op_ref);
        return module_op_ref;
      }
    
      Env* env_{};
      mlir::MLIRContext ctx_{};
    };
    
    TEST_F(SaveVariablesToCheckpointTest, VariableSavedToCheckpoint) {
      constexpr absl::string_view kModuleCode = R"mlir(
        module attributes {tf_saved_model.semantics} {
          "tf_saved_model.session_initializer"() {initializers = [@init_func_restore_op]} : () -> ()
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  8. 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)
  9. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_to_mhlo_int_test.cc

      std::unique_ptr<xla::PjRtClient> pjrt_client_;
      xla::PjRtDevice* device_;
      absl::BitGen bitgen_;
    };
    
    TEST_F(ConvertTfQuantToMhloIntTest, UniformQuantizeAndDequantizeToValidGraph) {
      constexpr absl::string_view kProgram = R"mlir(
    func.func @main(%arg0: tensor<10xf32>) -> tensor<10xf32> {
      %scale = "tf.Const"() { value = dense<0.347> : tensor<f32> } : () -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 03 01:03:21 UTC 2024
    - 35.8K bytes
    - Viewed (0)
  10. 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)
Back to top