- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 2,556 for specs_ (0.32 sec)
-
tensorflow/compiler/mlir/lite/quantization/device_target.cc
auto kernel_specs_it = specs_.find(kernel); if (kernel_specs_it == specs_.end()) return std::nullopt; return kernel_specs_it->getValue().Find(signature); } ScaleDecomposeFn DeviceTarget::GetDecomposeFn( quantfork::QuantizeRegionOp op) const { auto kernel_specs_it = specs_.find(op.getLogicalKernel()); if (kernel_specs_it == specs_.end()) return ScaleDecomposeFn(nullptr);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 08 10:41:08 UTC 2024 - 7.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/device_target.h
ScaleDecomposeFn GetDecomposeFn() const { return decompose_fn_; } // Adds the kernel signature with the kernel specification. LogicalResult Add(const Signature& signature, const KernelSpec& spec) { if (all_signatures_.insert({signature, spec}).second) return success(); return failure(); } KernelSpecs& WithSignature(const KernelSpecs::Signature& signature, const ScaleFn& fn) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 08 10:41:08 UTC 2024 - 7.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
GraphImportConfig specs; specs.graph_func_name = name; specs.prune_unused_nodes = true; TF_ASSIGN_OR_RETURN(specs.inputs, ParseInputArrays(inputs)); for (auto& output : outputs) { TF_ASSIGN_OR_RETURN(std::string name, GetDenseTensorNameFromTensorInfo(output.second)); specs.outputs.push_back(std::move(name)); } specs.control_outputs = control_outputs;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0) -
platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/api/specs/Specs.java
*/ public static <T> Spec<T> intersect(Collection<? extends Spec<? super T>> specs) { if (specs.size() == 0) { return satisfyAll(); } return doIntersect(specs); } private static <T> Spec<T> doIntersect(Collection<? extends Spec<? super T>> specs) { List<Spec<? super T>> filtered = new ArrayList<>(specs.size()); for (Spec<? super T> spec : specs) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 10:00:26 UTC 2023 - 5.2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/Specs.java
return doIntersect(specs); } private static <T> Spec<T> doIntersect(Collection<? extends Spec<T>> specs) { List<Spec<T>> filtered = new ArrayList<Spec<T>>(specs.size()); for (Spec<T> spec : specs) { if (spec == SATISFIES_NONE) { return satisfyNone(); } if (spec != SATISFIES_ALL) { filtered.add(spec); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/Specs.java
* limitations under the License. */ package org.gradle.internal; import org.gradle.api.specs.Spec; public class Specs { public static <T> Spec<T> isInstance(final Class<?> type) { return new Spec<T>() { @Override public boolean isSatisfiedBy(T element) { return type.isInstance(element); } };
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 956 bytes - Viewed (0) -
platforms/core-configuration/base-services-groovy/src/test/groovy/org/gradle/api/specs/SpecsTest.groovy
def spec1 = Stub(Spec) def spec2 = Stub(Spec) expect: Specs.union(spec1, Specs.satisfyNone(), spec2).specs == [spec1, spec2] Specs.union([spec1, Specs.satisfyNone(), spec2]).specs == [spec1, spec2] Specs.union(spec1, Specs.satisfyNone()) == spec1 Specs.union([spec1, Specs.satisfyNone()]) == spec1
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 10:00:26 UTC 2023 - 6K bytes - Viewed (0) -
platforms/core-configuration/base-services-groovy/src/test/groovy/org/gradle/api/specs/AbstractCompositeSpecTest.java
assert createCompositeSpec(spec2, spec1).equals(createCompositeSpec(spec2, spec1)); assertFalse(createCompositeSpec(spec1, spec2).equals(createCompositeSpec(spec2, spec1))); assertFalse(createCompositeSpec(spec1).equals(createOtherCompositeSpec(spec1))); assertFalse(createCompositeSpec(spec2).equals(createOtherCompositeSpec(spec2)));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 10:00:26 UTC 2023 - 3.8K bytes - Viewed (0) -
platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/DaemonForkOptionsTest.groovy
def spec1 = Mock(ClassLoaderSpec) def spec2 = Mock(ClassLoaderSpec) def spec3 = Mock(ClassLoaderSpec) def spec4 = Mock(ClassLoaderSpec) def settings1 = daemonForkOptionsBuilder() .withClassLoaderStructure(new HierarchicalClassLoaderStructure(spec1).withChild(spec2).withChild(spec3)) .build()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 7.4K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/api/specs/Spec.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.api.specs; /** * Represents some predicate against objects of type T. * * @param <T> The target type for this Spec */ public interface Spec<T> { boolean isSatisfiedBy(T element);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 830 bytes - Viewed (0)