- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 155 for constexpr (0.15 sec)
-
tensorflow/cc/saved_model/saved_model_bundle_lite_test.cc
namespace tensorflow { namespace { constexpr char kTestDataPbTxt[] = "cc/saved_model/testdata/half_plus_two_pbtxt/00000123"; constexpr char kTestDataMainOp[] = "cc/saved_model/testdata/half_plus_two_main_op/00000123"; constexpr char kTestDataSharded[] = "cc/saved_model/testdata/half_plus_two/00000123"; constexpr char kTestDataInitOpV2[] = "cc/saved_model/testdata/half_plus_two_v2/00000123";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 19:16:58 UTC 2023 - 9.7K bytes - Viewed (0) -
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) -
tensorflow/compiler/mlir/lite/experimental/tac/hardwares/gpu_hardware.cc
kCrossHardwareTransferFixedCost; } namespace { // GPU constexpr float kGPUArithmeticUnitCost = 0.2; // The copy can be non-consectutive copy. This is just fake data. constexpr float kGPUCopyUnitCost = 0.2; // Default values. constexpr float kGPUDefaultFixedValuedCost = 10000.0; std::unique_ptr<TargetHardware> CreateGpuHardware() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 03:08:33 UTC 2023 - 7.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/bridge.h
#include "mlir/IR/BuiltinOps.h" // from @llvm-project #include "tensorflow/core/lib/core/status.h" namespace mlir { namespace TF { inline constexpr char kStandardPipelineBefore[] = "standard_pipeline_before"; inline constexpr char kStandardPipelineAfter[] = "standard_pipeline_after"; // Runs all passes involved in transforming or optimizing an MLIR graph without
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 24 22:46:43 UTC 2023 - 1.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/hardwares/target_hardware.h
namespace mlir { namespace TFL { namespace tac { // Default fixed values for ops. constexpr static float kDefaultFixedValuedCost = 1000000.0; // This is just fake data. constexpr static float kCrossHardwareTransferPerByteCost = 5.0f; // This is just fake data. constexpr static float kCrossHardwareTransferFixedCost = 10.f; // Interface for an Operation capabilities which should be tied to
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 09 21:39:59 UTC 2023 - 7.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_cluster_cleanup_attributes.cc
#include "tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.h" namespace mlir { namespace TFTPU { namespace { constexpr char kDeviceAttr[] = "device"; constexpr char kClassAttr[] = "_class"; #define GEN_PASS_DEF_TPUCLEANUPCLUSTERATTRIBUTESPASS #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.h.inc" class TPUCleanupClusterAttributesPass
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/verify_clustering_pass_test.cc
private: mlir::MLIRContext context_; mlir::OwningOpRef<mlir::ModuleOp> module_; std::unique_ptr<mlir::PassManager> pm_; }; TEST_F(VerifyClusteringPassTest, OnlyTfFunctionalPasses) { 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 Oct 30 17:03:53 UTC 2023 - 2.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback.h
public: using Base::Base; static constexpr StringLiteral name = "tfrt.tf_tensor"; }; // The MLIR type represents a tensorflow::Allocator. class TFAllocatorType : public Type::TypeBase<TFAllocatorType, Type, TypeStorage> { public: using Base::Base; static constexpr StringLiteral name = "tfrt.tf_allocator"; }; } // namespace fallback } // namespace tfrt
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 05 07:17:01 UTC 2023 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types_test.cc
namespace { using ::mlir::DialectRegistry; using ::mlir::MLIRContext; using ::mlir::ModuleOp; using ::mlir::OwningOpRef; using ::tensorflow::monitoring::testing::CellReader; using ::testing::Test; static constexpr char kMetricsName[] = "/tensorflow/core/tf2xla/tf_quant_op_count"; class LegalizeTfTypesTest : public Test { protected: void CreateModule(const char* module_string) { DialectRegistry mlir_registry;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 09:05:02 UTC 2024 - 4.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/common/targets.h
namespace mlir { namespace TFL { namespace tac { // Device attribute string on the TFL dialect. constexpr char kDevice[] = "tac.device"; // Inference type. constexpr char kInferenceType[] = "tac.inference_type"; // Inference type. constexpr char kSkipTargetAnnotation[] = "tac.skip_target_annotation"; // TODO(renjieliu): Add more inference types. enum InferenceType { UNKNOWN = 0,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 03:08:33 UTC 2023 - 4.7K bytes - Viewed (0)