Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 237 for GetVector (0.31 sec)

  1. tensorflow/compiler/mlir/lite/flatbuffer_operator.h

    template <typename T>
    inline std::vector<T> GetVector(DenseElementsAttr elements);
    
    // TODO(zichuanwei@): for each type, we need to make sure the element type
    // matches the expected type otherwise an error should be thrown, but for now
    // we're just returning empty vector
    template <>
    inline std::vector<bool> GetVector(DenseElementsAttr elements) {
      auto type = elements.getType();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 21:00:09 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

          mlir::cast<mlir::vhlo::TensorV1Attr>(pad_op.getEdgePaddingLow()),
          vhlo_type_converter));
      auto edge_padding_high = builder_.CreateVector(mlir::GetVector<int64_t>(
          mlir::cast<mlir::vhlo::TensorV1Attr>(pad_op.getEdgePaddingHigh()),
          vhlo_type_converter));
      auto interior_padding = builder_.CreateVector(mlir::GetVector<int64_t>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/native/src/test/groovy/org/gradle/internal/nativeintegration/console/NativePlatformConsoleDetectorTest.groovy

        }
    
        @Requires(UnitTestPreconditions.SmartTerminalAvailable)
        def "returns metadata when only stdout is attached to console"() {
            given:
            terminals.isTerminal(Terminals.Output.Stdout) >> true
            terminals.isTerminal(Terminals.Output.Stderr) >> false
    
            expect:
            detector.console != null
            detector.console.stdOut
            !detector.console.stdErr
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  4. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/TrivialChangeDetectorTest.groovy

        def delegate = Mock(CompareStrategy.ChangeDetector)
        def detector = new TrivialChangeDetector(itemComparator, changeFactory, delegate)
    
        def change = Mock(Change)
        def visitor = Mock(ChangeVisitor)
    
        def "detects no change between empty current and previous"() {
            when:
            detector.visitChangesSince([:], [:], "test", visitor)
            then:
            0 * _
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:46:15 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

              << " TPUReplicatedInput/Output pairs";
      return LogicalResult::success();
    }
    
    LogicalResult FindCoreTPUOps(
        llvm::SetVector<Operation*>& core_tpu_ops,
        const llvm::SetVector<Operation*>& forward_pass_ops,
        const llvm::SetVector<Operation*>& backward_pass_ops,
        const llvm::SetVector<Operation*>& merged_set,
        func::FuncOp loop_body_func) {
      // Find all of the Ops that are part of the forward/backward pass but aren't
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  6. cluster/addons/node-problem-detector/npd.yaml

      kind: ClusterRole
      name: system:node-problem-detector
    subjects:
    - kind: ServiceAccount
      name: node-problem-detector
      namespace: kube-system
    ---
    apiVersion: apps/v1
    kind: DaemonSet
    metadata:
      name: node-problem-detector
      namespace: kube-system
      labels:
        app.kubernetes.io/name: node-problem-detector
        app.kubernetes.io/version: v0.8.19
        addonmanager.kubernetes.io/mode: Reconcile
    spec:
      selector:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 04:14:02 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  7. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/processors/TestMainAction.java

        private final Runnable detector;
        private final TestClassProcessor processor;
        private final TestResultProcessor resultProcessor;
        private final WorkerLeaseService workerLeaseService;
        private final Clock clock;
        private final Object rootTestSuiteId;
        private final String displayName;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  8. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/console/TestOverrideConsoleDetector.java

        public static final String TEST_CONSOLE_PROPERTY = "org.gradle.internal.console.test-console";
    
        private final ConsoleDetector detector;
    
        public TestOverrideConsoleDetector(ConsoleDetector detector) {
            this.detector = detector;
        }
    
        @Nullable
        @Override
        public ConsoleMetaData getConsole() {
            String testConsole = System.getProperty(TEST_CONSOLE_PROPERTY);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:06:40 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/processors/TestMainActionTest.groovy

        private final TestResultProcessor resultProcessor = Mock()
        private final Runnable detector = Mock()
        private final Clock timeProvider = Mock()
        private final WorkerLeaseRegistry.WorkerLease lease = Mock()
        private final WorkerLeaseService workerLeaseService = Mock()
        private final TestMainAction action = new TestMainAction(detector, processor, resultProcessor, workerLeaseService, timeProvider, "rootTestSuiteId456", "Test Run")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleSourceDetectorTest.groovy

            addClass(cl, impl)
    
            expect:
            detector.cache.size() == 1
    
            when:
            cl.clearCache()
    
            then:
            ConcurrentTestUtil.poll(10) {
                System.gc()
                detector.cache.cleanUp()
                detector.cache.size() == 0
            }
    
            where:
            impl << [
                    "class SomeThing {}",
                    "class SomeThing extends ${RuleSource.name} {}",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3K bytes
    - Viewed (0)
Back to top