Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for isRegistered (0.2 sec)

  1. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/AddSoftwareTypesAsExtensionsPluginTargetTest.groovy

            def extensions = Mock(ExtensionContainerInternal)
            def foo = new Foo()
    
            when:
            pluginTarget.applyImperative(null, plugin)
    
            then:
            1 * softwareTypeRegistry.isRegistered(_) >> true
            1 * inspectionScheme.getPropertyWalker() >> propertyWalker
            1 * propertyWalker.visitProperties(plugin, _, _) >> { args -> args[2].visitSoftwareTypeProperty("foo", propertyValue, softwareType) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/plugin/software/internal/SoftwareTypeRegistry.java

         */
        Set<SoftwareTypeImplementation<?>> getSoftwareTypeImplementations();
    
        /**
         * Returns whether a plugin is registered as providing a software type or not.
         */
        boolean isRegistered(Class<? extends Plugin<Project>> pluginClass);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:28 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/raise_custom_ops.cc

        // Wrap the operation, if
        // - the op is targeted explicitly, or
        // - the op isn't registered when there are no target list.
        if (target_op_names.contains(op_name) ||
            (target_op_names.empty() && !op->isRegistered())) {
          custom_ops.push_back(op);
        }
      });
    
      for (auto *op : custom_ops) {
        builder.setInsertionPoint(op);
        Location loc = op->getLoc();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 07:31:01 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-use/src/main/java/org/gradle/plugin/software/internal/DefaultSoftwareTypeRegistry.java

                softwareTypeImplementations = discoverSoftwareTypeImplementations();
            }
            return softwareTypeImplementations;
        }
    
        @Override
        public boolean isRegistered(Class<? extends Plugin<Project>> pluginClass) {
            return pluginClasses.values().stream().anyMatch(registeredPlugins -> registeredPlugins.stream().anyMatch(registeredPlugin -> registeredPlugin.isAssignableFrom(pluginClass)));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:31 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/plugins/AddSoftwareTypesAsExtensionsPluginTarget.java

            return delegate.getConfigurationTargetIdentifier();
        }
    
        @Override
        public void applyImperative(@Nullable String pluginId, Plugin<?> plugin) {
            if (softwareTypeRegistry.isRegistered(Cast.uncheckedCast(plugin.getClass()))) {
                DefaultTypeValidationContext typeValidationContext = DefaultTypeValidationContext.withRootType(plugin.getClass(), false);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:35 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc

      if (auto is_stateless = op->getAttrOfType<BoolAttr>("is_stateless"))
        return is_stateless.getValue();
    
      // Assume ops can be duplicated if modelled.
      return op->isRegistered();
    }
    
    // TF dialect fallback for MemoryEffectOpInterface. The filtering for returning
    // the interface is done in the return below and here it is empty as it is only
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/server/options/api_enablement.go

    			unknownGroups = append(unknownGroups, group)
    		}
    	}
    	return unknownGroups
    }
    
    // GroupRegistry provides a method to check whether given group is registered.
    type GroupRegistry interface {
    	// IsRegistered returns true if given group is registered.
    	IsGroupRegistered(group string) bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 09:22:37 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/constant_fold.cc

                   element_ty.isIntOrFloat();
          });
      if (has_empty_numerical_results &&
          // TODO(jpienaar): Remove this once some unmodeled op behavior is
          // addressed.
          inst->isRegistered()) {
        for (Type ty : inst->getResultTypes()) {
          auto shaped_ty = mlir::cast<ShapedType>(ty);
          results.push_back(
              DenseElementsAttr::get(shaped_ty, llvm::ArrayRef<Attribute>()));
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  9. tensorflow/c/kernels/summary_op_test.cc

      values.matrix<float>()(1, 0) = -2.0f;
      TestScalarSummaryOp(&tags, &values, "tags and values are not the same shape",
                          error::INVALID_ARGUMENT);
    }
    
    TEST(ScalarSummaryOpTest, IsRegistered) {
      const OpRegistrationData* reg;
      TF_CHECK_OK(OpRegistry::Global()->LookUp("ScalarSummary", &reg));
    }
    
    }  // namespace
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 18 15:10:51 UTC 2022
    - 6.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/passes/decompose.cc

        // Only the un-registered ops requires decomposition. The remaining ones
        // either will be constant folded or lowered by the rules defined in the
        // bridge.
        if (op->isRegistered()) {
          return WalkResult::advance();
        }
    
        // Find out the compose function
        auto compose_func_name = GetComposeFuncName(op->getName().getStringRef());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top