- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 641 for unique_ptr (0.17 sec)
-
tensorflow/c/experimental/saved_model/core/saved_model_utils.h
const SavedVariable& variable, std::unique_ptr<Variable>* output); Status LoadSavedAsset(ImmediateExecutionContext* ctx, const SavedAsset& asset, const std::string& saved_model_dir, absl::Span<const AssetFileDef> assets, std::unique_ptr<Asset>* output); // Creates a TFConcreteFunction from a SavedConcreteFunction.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 13 04:18:52 UTC 2022 - 5.7K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.h
// and maps to the SignatureDefFunction node in the SavedObjectGraph. struct PartiallyRevivedObjects { gtl::FlatMap<int, std::unique_ptr<Variable>> variables; gtl::FlatMap<int, std::unique_ptr<Asset>> assets; gtl::FlatMap<int, std::unique_ptr<Constant>> constants; gtl::FlatMap<int, TFConcreteFunctionRevivalState> concrete_functions; gtl::FlatMap<int, TFSignatureDefFunctionRevivalState> signature_def_functions;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 30 23:21:36 UTC 2020 - 3.3K bytes - Viewed (0) -
tensorflow/c/kernels/merge_summary_op.cc
}; // Struct that wraps TF_Tensor and TF_Status to delete once out of scope using Safe_TF_TensorPtr = std::unique_ptr<TF_Tensor, TFTensorDeleter>; using Safe_TF_StatusPtr = std::unique_ptr<TF_Status, TFStatusDeleter>; // dummy functions used for kernel registration void* MergeSummaryOp_Create(TF_OpKernelConstruction* ctx) { return nullptr; } void MergeSummaryOp_Delete(void* kernel) {}
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 31 03:28:11 UTC 2021 - 4.7K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_activity_listener.cc
#include "tensorflow/core/platform/thread_annotations.h" namespace tensorflow { namespace { // The list of all registered `XlaActivityListener`s. struct XlaActivityListenerList { absl::Mutex mutex; std::vector<std::unique_ptr<XlaActivityListener>> listeners TF_GUARDED_BY(mutex); }; void FlushAllListeners(); XlaActivityListenerList* GetXlaActivityListenerList() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 3.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/odml_converter/passes.h
#include "mlir/IR/BuiltinOps.h" // from @llvm-project #include "mlir/Pass/Pass.h" // from @llvm-project namespace mlir::odml { std::unique_ptr<OperationPass<func::FuncOp>> CreateOutlineCompositesPass(); std::unique_ptr<OperationPass<ModuleOp>> CreateSHLOSimplifyPass(); #define GEN_PASS_REGISTRATION #include "tensorflow/compiler/mlir/lite/stablehlo/odml_converter/passes.h.inc"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 19:05:30 UTC 2024 - 1.4K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/tf_concrete_function.cc
std::vector<ImmediateExecutionTensorHandle*> captures, FunctionMetadata metadata, ImmediateExecutionContext* ctx, std::unique_ptr<TFConcreteFunction>* out) { std::unique_ptr<FlatTensorFunction> func; TF_RETURN_IF_ERROR(FlatTensorFunction::Create( function_def, std::move(captures), ctx, &func)); out->reset(new TFConcreteFunction(std::move(func), std::move(metadata))); return Status(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 27 06:55:27 UTC 2020 - 2.4K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/tf_signature_def_function.cc
SignatureDefFunctionMetadata metadata, ImmediateExecutionContext* ctx, std::unique_ptr<TFSignatureDefFunction>* out) { std::unique_ptr<FlatTensorFunction> func; TF_RETURN_IF_ERROR(FlatTensorFunction::Create( function_def, std::move(captures), ctx, &func)); out->reset(new TFSignatureDefFunction(std::move(func), std::move(metadata))); return Status(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 27 07:01:57 UTC 2020 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/hardwares/cpu_hardware.cc
if (op->getDialect() == nullptr) return false; if (op->getDialect()->getNamespace() != "tfl") return false; return true; } }; constexpr char CpuHardware::kId[]; // Define kId. std::unique_ptr<TargetHardware> CreateCpuHardware() { return std::make_unique<CpuHardware>(); } TargetHardwareRegistration<CpuHardware> cpu_hardware("Target device for CPU",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 03:08:33 UTC 2023 - 5.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/hardwares/nnapi_hardware.cc
mlir::RewritePatternSet patterns(context); patterns.add<SquaredDifference, LowerPackIntoConcatReshape, ReduceMeanToAvgPool, InsertRequantForReduceMean>(context); return patterns; } std::unique_ptr<TargetHardware> CreateNNAPIHardware() { return std::make_unique<NNAPIHardware>(); } TargetHardwareRegistration<NNAPIHardware> nnapi_hardware( "Target device for NNAPI", CreateNNAPIHardware);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 03:08:33 UTC 2023 - 3.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/tftext_utils_test.cc
}); } } // namespace TEST(TfTextUtilsTest, TestTfTextRegistered) { std::unique_ptr<OpRegistry> registry(new OpRegistry); Register("WhitespaceTokenizeWithOffsets", registry.get()); EXPECT_TRUE(IsTFTextRegistered(registry.get())); } TEST(TfTextUtilsTest, TestTfTextNotRegistered) { std::unique_ptr<OpRegistry> registry(new OpRegistry); Register("Test", registry.get());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 29 02:14:37 UTC 2024 - 1.7K bytes - Viewed (0)