Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,000 for registry1 (0.26 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/VersionCatalogDependencyRegistryTest.groovy

            registry.versions.size() == 1
            registry.libraries.size() == 1
            registry.versions[0].alias == "group-artifact"
            registry.versions[0].module == "group:artifact"
            registry.versions[0].version == "1.1"
            registry.libraries[0].alias == "group-artifact"
            registry.libraries[0].module == "group:artifact"
            registry.libraries[0].version == "1.1"
            registry.libraries[0].versionRef == "group-artifact"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 18 14:16:33 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/AccessModifierDefaultServiceRegistryTest.groovy

        def "can add type to registry that has package private constructor"() {
            when:
            def registry = new DefaultServiceRegistry()
            registry.register {
                it.add(String, "Potato")
                it.add(ModifierStubs.PackagePrivateConstructor)
            }
            then:
            noExceptionThrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/deployment/internal/DefaultDeploymentRegistryTest.groovy

        }
    
        def "cannot register a handle once the registry is stopped" () {
            given:
            registry.stop()
    
            when:
            registry.start("id", DeploymentRegistry.ChangeBehavior.NONE, TestDeploymentHandle)
            then:
            def e = thrown(IllegalStateException)
            e.message == "Cannot modify deployment handles once the registry has been stopped."
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  8. platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/WindowsInstallationSupplierTest.groovy

        def registry = Mock(WindowsRegistry)
    
        def "no detection for non-windows os"() {
            given:
            def supplier = createSupplier(OperatingSystem.MAC_OS)
    
            when:
            supplier.get()
    
            then:
            0 * registry._
        }
    
        def "finds openjdk homes"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 22:14:10 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/DefaultServiceRegistryConcurrencyTest.groovy

            })
    
            expect:
            10.times {
                start {
                    assert registry.get(String) == "12"
                    assert registry.get(Long) == 123
                }
            }
        }
    
        def "multiple threads can locate factories"() {
            def registry = new DefaultServiceRegistry()
            registry.addProvider(new ServiceRegistrationProvider() {
                @Provides
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. subprojects/core/src/test/groovy/org/gradle/internal/cleanup/DefaultBuildOutputCleanupRegistryTest.groovy

            registry.registerOutputs(file('build/outputs'))
            registry.registerOutputs(file('build/outputs/other'))
            registry.registerOutputs(file('outputs'))
            registry.resolveOutputs()
    
            expect:
            registry.isOutputOwnedByBuild(file('build/outputs'))
            registry.isOutputOwnedByBuild(file('build/outputs/some-dir/other-dir'))
            registry.isOutputOwnedByBuild(file('build/outputs/other'))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 29 20:47:06 UTC 2021
    - 3K bytes
    - Viewed (0)
Back to top