- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 330 for constexpr (0.14 sec)
-
tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util_test.cc
#include "tsl/platform/statusor.h" namespace tensorflow { namespace { using ::mlir::OpPassManager; using ::tensorflow::monitoring::testing::CellReader; using ::testing::HasSubstr; 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 Mar 25 19:54:38 UTC 2024 - 9.7K 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/tensorflow/utils/cluster_util_test.cc
GetMlirModuleFromString(module_with_two_clusters, &context)); auto clusters = GetClusters(module.get()); constexpr StringRef kTarget0 = "tpu0"; EXPECT_EQ(clusters.count(kTarget0), 1); EXPECT_EQ(clusters[kTarget0].size(), 1); EXPECT_EQ(clusters[kTarget0][0].ops.size(), 2); constexpr StringRef kTarget1 = "tpu1"; EXPECT_EQ(clusters.count(kTarget1), 1); EXPECT_EQ(clusters[kTarget1].size(), 1);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 7.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/dynamic_shape_utils.h
namespace tensorflow { llvm::SmallVector<int64_t> ConvertTFShapeToMlir(llvm::ArrayRef<int64_t> shapes); llvm::SmallVector<int64_t> ConvertMlirShapeToTF(llvm::ArrayRef<int64_t> shape); static constexpr int64_t kTFDynamicSize = -1; mlir::RankedTensorType GetTypeFromTFTensorShape(llvm::ArrayRef<int64_t> shape, mlir::Type elementType,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 18 11:40:17 UTC 2022 - 1.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/constants.h
#ifndef TENSORFLOW_COMPILER_MLIR_TFRT_CONSTANTS_H_ #define TENSORFLOW_COMPILER_MLIR_TFRT_CONSTANTS_H_ namespace tensorflow { namespace tfrt_compiler { // Use __ prefix to indicate this is internal attribute. inline constexpr char kOpKeyAttrName[] = "__op_key"; } // namespace tfrt_compiler } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 09 04:34:14 UTC 2023 - 1K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_compile_util.cc
#include "tensorflow/core/graph/node_builder.h" #include "tensorflow/core/tfrt/common/global_state.h" #include "tensorflow/core/util/determinism.h" namespace tensorflow { namespace { constexpr const char* kPjRtDeviceCompilerResourceName = "pjrt_device_compiler"; constexpr const char* kPjRtDeviceCompilationProfilerResourceName = "pjrt_device_compilation_profiler"; } // namespace absl::StatusOr<std::unique_ptr<Graph>> CreateSingleOpGraph(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/instrumentations/save_report_test.cc
using ::tsl::testing::IsOk; using ::tsl::testing::StatusIs; using SaveQuantizationReportInstrumentationTest = QuantizationTestBase; TEST_F(SaveQuantizationReportInstrumentationTest, SaveReport) { constexpr absl::string_view kModuleWithCompositeDotGeneral = R"mlir( func.func @main(%arg0: tensor<1x2xf32>) -> tensor<1x3xf32> { %cst = "tf.Const"() {value = dense<3.00000000e-1> : tensor<2x3xf32>} : () -> tensor<2x3xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 02:59:01 UTC 2024 - 9.2K 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/tensorflow/transforms/tensor_device_copy_conversion.cc
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" #include "tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.h" namespace mlir { namespace TF { namespace { constexpr const char *kDeviceAttr = "device"; constexpr const char *kTFDeviceAttr = "tf.device"; #define GEN_PASS_DEF_TENSORDEVICECOPYCONVERSIONPASS #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/perception_ops_utils.cc
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" #include "tensorflow/lite/c/builtin_op_data.h" namespace mlir { namespace TFL { namespace { constexpr char kTFImplements[] = "tf._implements"; constexpr char kMaxUnpooling[] = "MaxUnpooling2D"; constexpr char kImageWarping[] = "DenseImageWarp"; inline ConstBytesAttr CustomOption(OpBuilder* builder, const std::string& content) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 8.9K bytes - Viewed (0)