Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 330 for constexpr (0.21 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/inference/inference_metrics_pass_test.cc

    namespace {
    
    using ::mlir::MLIRContext;
    using ::mlir::ModuleOp;
    using ::mlir::OwningOpRef;
    using ::mlir::mhlo::test::GetMlirModuleFromString;
    using ::tensorflow::monitoring::testing::CellReader;
    
    static constexpr char kHasTpuPartitionedCallStreamzName[] =
        "/tensorflow/core/tf2xla/internal/inference/tpu_partitioned_call";
    
    class InferenceMetricsPassTest : public ::testing::Test {
     protected:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/constant_fold.cc

      int64_t operands_size = get_size(inst->getOperandTypes());
    
      constexpr int kSizeFactor = 2;
    // TODO(b/233827625): Remove TF_DISABLE_CONSTANT_FOLDING macro.
    #ifdef TF_DISABLE_CONSTANT_FOLDING
      constexpr int64_t kResultsSizeThreshold = 0;
    #else
      constexpr int64_t kResultsSizeThreshold = (1 << 23);  // 1 MB
    #endif
      constexpr int64_t kOperandsSizeThreshold = (1 << 30);  // 128 MB
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/compilability_check_util_test.cc

      }
      return attr;
    }
    
    constexpr char kFunctionalIfNodeName[] = "If";
    constexpr char kFunctionalCaseNodeName[] = "Case";
    constexpr char kFunctionalWhileNodeName[] = "While";
    constexpr char kCompilableFunctionName[] = "CompilableFn";
    constexpr char kCompilableFunctionNodeName[] = "n_c";
    constexpr char kUncompilableFunctionName[] = "UncompilableFn";
    constexpr char kUncompilableFunctionNodeName[] = "n_c_uncompilable";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 10 12:32:39 UTC 2022
    - 22.3K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/c/experimental/saved_model/core/object_graph_traversal_test.cc

      SavedObjectGraph value;
      CHECK(tensorflow::protobuf::TextFormat::ParseFromString(string(text_proto),
                                                              &value));
      return value;
    }
    
    constexpr absl::string_view kSingleChildFoo = R"(
    nodes {
      children {
        node_id: 1
        local_name: "foo"
      }
      user_object {
        identifier: "_generic_user_object"
        version {
          producer: 1
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 22 20:15:34 UTC 2020
    - 7.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor.cc

        "/tensorflow/core/tf2xla/api/v2/tf_dialect_to_executor_dialect_status",
        "Counts how often a successful export from TF Dialect to Executor Dialect "
        "is",
        "status");
    
    constexpr char kExportSuccess[] = "success";
    constexpr char kExportFailed[] = "failed";
    
    namespace {
    
    void AddTfDialectToExecutorPasses(OpPassManager &pm) {
      pm.addPass(mlir::TF::CreateTFRegionControlFlowToFunctional());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 23:22:50 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/api/v1/tf_dialect_to_executor.cc

        "/tensorflow/core/tf2xla/api/v1/tf_dialect_to_executor_dialect_status",
        "Counts how often a successful export from TF Dialect to Executor Dialect "
        "is",
        "status");
    
    constexpr char kExportSuccess[] = "success";
    constexpr char kExportFailed[] = "failed";
    
    namespace {
    
    void AddTfDialectToExecutorPasses(OpPassManager &pm) {
      auto add_pass = [&](std::unique_ptr<Pass> pass) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 16 03:41:02 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/utils/lstm_utils.h

    #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
    
    namespace mlir {
    namespace TFL {
    
    constexpr char kTFImplements[] = "tf._implements";
    constexpr char kLstmCellSimple[] = "LSTMCellSimple";
    constexpr char kLayerNormalizedLstmCellSimple[] =
        "LayerNormalizedLstmCellSimple";
    constexpr char kCoupleInputForgetGates[] = "CoupleInputForgetGates";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 03 00:14:05 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor_test.cc

    #include "tsl/lib/core/status_test_util.h"
    
    namespace tensorflow {
    namespace tf2xla {
    namespace v2 {
    namespace {
    
    constexpr char kExportStreamzName[] =
        "/tensorflow/core/tf2xla/api/v2/tf_dialect_to_executor_dialect_status";
    constexpr char kExportSuccess[] = "success";
    constexpr char kExportFailed[] = "failed";
    
    using mlir::DialectRegistry;
    using mlir::MLIRContext;
    using mlir::ModuleOp;
    using mlir::OwningOpRef;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 23:22:50 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/ir/tfr_types.h

     public:
      using TFRBase::TFRBase;
      static constexpr StringLiteral name = "tfr.tensor";
      static std::string getTypeName() { return "TFRTensorType"; }
    };
    
    class TFRTensorListType : public detail::TFRTypeImpl<TFRTensorListType> {
     public:
      using TFRBase::TFRBase;
      static constexpr StringLiteral name = "tfr.tensor_list";
      static std::string getTypeName() { return "TFRTensorListType"; }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 07:17:01 UTC 2023
    - 4.1K bytes
    - Viewed (0)
Back to top