- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 134 for constexpr (0.33 sec)
-
tensorflow/compiler/aot/codegen.cc
public: // Number of input arguments for the compiled computation. static constexpr size_t kNumArgs = {{ARG_NUM}}; static constexpr size_t kNumResults = {{RESULT_NUM}}; // Number of variables for the compiled computation. static constexpr size_t kNumVariables = {{VARIABLE_NUM}}; // Byte size of each argument buffer. There are kNumArgs entries.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 01:20:01 UTC 2024 - 36.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_tf_ops_pass.cc
using ParsedName = ::tensorflow::DeviceNameUtils::ParsedName; constexpr const char *kHostAttr = "host"; constexpr const char *kDeviceAttr = "device"; constexpr const char *kTFDeviceAttr = "tf.device"; // TODO(donglin): Handle the case where the address of localhost is different // from /job:localhost/replica:0/task:0. constexpr const char *kLocalhost = "/job:localhost/replica:0/task:0"; constexpr const char *kErrorMessage =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 13.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/mlir_graph_optimization_pass_test.cc
namespace tensorflow { using ::testing::_; using ::testing::NiceMock; using ::testing::Return; using ::testing::Test; constexpr char kOk[] = "OK"; constexpr char kInvalidArgument[] = "INVALID_ARGUMENT"; constexpr char kSuccess[] = "kSuccess"; constexpr char kFailure[] = "kFailure"; class MockMlirOptimizationPass : public MlirOptimizationPass { public:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 27 08:25:30 UTC 2024 - 16.1K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
// will be evicted on the next read. constexpr char kMaxStaleness[] = "GCS_READ_CACHE_MAX_STALENESS"; constexpr uint64_t kDefaultMaxStaleness = 0; constexpr char kStatCacheMaxAge[] = "GCS_STAT_CACHE_MAX_AGE"; constexpr uint64_t kStatCacheDefaultMaxAge = 5; // The environment variable that overrides the maximum number of entries in the // Stat cache. constexpr char kStatCacheMaxEntries[] = "GCS_STAT_CACHE_MAX_ENTRIES";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 23 06:55:53 UTC 2023 - 46.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/add_dump_tensor_op.cc
namespace { using ::stablehlo::quantization::DebuggerConfig; using DebuggerType = DebuggerConfig::DebuggerType; constexpr StringRef kEntryFuncAttrName = "_entry_function"; constexpr StringRef kOriginalEntryFuncAttrName = "_original_entry_function"; constexpr StringRef kCompositeFuncPrefix = "composite_"; constexpr StringRef kEmptyNodeName = "_empty_node"; // Returns a pair: `func_name` and `node_name` for the lifted function. In TF
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 22:55:22 UTC 2024 - 13K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/report_test.cc
StrEq("quantized_my_function")); EXPECT_TRUE(first_result.method().has_no_quantization()); } TEST_F(QuantizationReportTest, InitializeWithModuleOp) { constexpr absl::string_view kQuantizedDotGeneral = R"mlir( func.func @main(%arg0: tensor<1x2xf32>) -> tensor<1x3xf32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 10:10:34 UTC 2024 - 18.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/xla_call_module_deserialization.cc
// `tf.backend_config` is a DictionaryAttr, JAX2TF sets the value of its // i64 attribute `called_index` to the TF function's name. constexpr llvm::StringRef kTfBackendConfigAttrName = "tf.backend_config"; constexpr llvm::StringRef kCalledIndexAttrName = "called_index"; constexpr llvm::StringRef kCalledFuncAttrName = "called_func"; // Deserialize the StableHLO module embedded in XlaCallModuleOp's module // attribute.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 23 09:05:47 UTC 2024 - 11.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc
namespace mlir { namespace TFTPU { constexpr char kStepMarkerLocationAttr[] = "step_marker_location"; constexpr char kDevicesAttr[] = "devices"; constexpr char kVersionsAttr[] = "tf.versions"; constexpr char kUseXlaSpmdAttr[] = "use_spmd_for_xla_partitioning"; constexpr char kBadStringArrayElementMsg[] = "bad '{0}' attribute at index {1}, not a string"; constexpr char kBadArrayElementMsg[] =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 29.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/tensorflow/fallback_to_flex_ops.cc
// remove the attribute and skip further processing on those ops. constexpr char kNoFallbackAttr[] = "no_fallback"; // TF Quantization modes. These constants are defined as char arrays so they // can parsed by the pass option. constexpr char kDefaultMode[] = "DEFAULT"; constexpr char kLegacyIntegerMode[] = "LEGACY_INTEGER"; // Checks if the operation is TF FakeQuant ops.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.cc
namespace { constexpr StringRef kStablehloModuleAttrsAttrName = "_stablehlo_module_attrs"; constexpr StringRef kUsesShapePolymorphismAttr = "jax.uses_shape_polymorphism"; // Default version number for native serialization. constexpr int64_t kDefaultVersion = 9; // Platforms for XlaCallModuleOp. constexpr StringRef kPlatformCpu = "CPU"; constexpr StringRef kPlatformTpu = "TPU";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21K bytes - Viewed (0)