- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 91 for registry_ (0.18 sec)
-
tensorflow/c/experimental/gradients/array_grad_test.cc
ASSERT_EQ(errors::OK, status_.code()) << status_.message(); x2.reset(x2_raw); } status_ = registry_.Register("IdentityN", IdentityNRegisterer); ASSERT_EQ(errors::OK, status_.code()) << status_.message(); auto IdentityNGradModel = BuildGradModel(IdentityNModel, registry_); std::vector<AbstractTensorHandle*> outputs(2); status_ = RunModel(IdentityNGradModel, immediate_execution_ctx_.get(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 28 13:53:47 UTC 2024 - 5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/tac_module.cc
context->appendDialectRegistry(registry_); context->loadAllAvailableDialects(); // Run TAC passes. auto status = RunTacPasses(&module, options_.debug_mode); if (!status.ok()) { return status; } return exporter_->Export(module); } void TacModule::RegisterExtraDialects(mlir::DialectRegistry& registry) { registry.appendTo(registry_); } } // namespace tac
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 08 01:19:25 UTC 2023 - 5.6K bytes - Viewed (0) -
tensorflow/cc/framework/grad_op_registry.h
/// the gradient function for 'op' exists in the registry. /// Note that 'func' can be null for ops that have registered no-gradient with /// the registry. /// Returns error status otherwise. Status Lookup(const string& op, GradFunc* func) const; /// Returns a pointer to the global gradient function registry. static GradOpRegistry* Global(); private:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 15:33:58 UTC 2022 - 2.9K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/tape/tape_operation.cc
namespace tensorflow { namespace gradients { TapeOperation::TapeOperation(AbstractOperation* parent_op, Tape* tape, const GradientRegistry& registry) : AbstractOperation(kTape), parent_op_(parent_op), tape_(tape), registry_(registry) { // TODO(b/172003047): Consider making AbstractOperation RefCounted. // parent_op_->Ref(); } void TapeOperation::Release() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 28 06:16:45 UTC 2024 - 9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/tac_module.h
const std::vector<const tac::TargetHardware*>& GetAvailableHardwares() const { return const_backends_; } // Registers all dialects in 'registry' with the module. // This to allow clients to register extra dialects required. void RegisterExtraDialects(mlir::DialectRegistry& registry); protected: // Adds TAC passes to the 'pass_manager'. virtual void AddTACPass(mlir::OpPassManager* pass_manager,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 08 01:19:25 UTC 2023 - 4.3K bytes - Viewed (0) -
tensorflow/c/eager/gradients.h
// // More complex gradient functions can use inputs/attrs etc. from the // // forward `op`. // return new AddGradientFunction; // } // // Status RegisterGradients(GradientRegistry* registry) { // return registry->Register("Add", AddRegisterer); // } class GradientFunction { public: virtual Status Compute(AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> grad_outputs,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Sep 26 10:27:05 UTC 2022 - 6.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/passes/tfr_opt.cc
#include "tensorflow/compiler/mlir/tfr/ir/tfr_ops.h" int main(int argc, char **argv) { tensorflow::InitMlir y(&argc, &argv); mlir::registerAllPasses(); mlir::DialectRegistry registry; registry.insert<mlir::scf::SCFDialect, mlir::TF::TensorFlowDialect, mlir::arith::ArithDialect, mlir::func::FuncDialect, mlir::shape::ShapeDialect, mlir::quant::QuantizationDialect,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 15 16:15:16 UTC 2023 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/tools/stablehlo_quant_opt.cc
mlir::tf_executor::TensorFlowExecutorDialect, mlir::vhlo::VhloDialect>(); mlir::mhlo::registerAllMhloDialects(registry); mlir::func::registerAllExtensions(registry); return failed( mlir::MlirOptMain(argc, argv, "StableHLO quant Pass Driver\n", registry));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 07:37:34 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/tf_quant_opt.cc
int main(int argc, char **argv) { tensorflow::InitMlir y(&argc, &argv); mlir::registerAllPasses(); mlir::registerTensorFlowPasses(); mlir::DialectRegistry registry; registry.insert<mlir::scf::SCFDialect, mlir::TF::TensorFlowDialect, mlir::tf_saved_model::TensorFlowSavedModelDialect, mlir::func::FuncDialect, mlir::shape::ShapeDialect,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 06 18:20:34 UTC 2023 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_mlir.cc
"or compilation failure from the MLIR bridge (full fallback mode)."; mlir::DialectRegistry registry; mlir::RegisterAllTensorFlowDialects(registry); mlir::mhlo::registerAllMhloDialects(registry); mlir::stablehlo::registerAllDialects(registry); mlir::MLIRContext context(registry); mlir::OwningOpRef<mlir::ModuleOp> mlir_module; TF_RETURN_IF_ERROR(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 14 20:29:34 UTC 2024 - 6.1K bytes - Viewed (0)