Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 147 for Flatten (2.45 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/OutputScrapingExecutionResult.java

        private GroupedOutputFixture groupedOutputFixture;
        private Set<String> tasks;
    
        public static List<String> flattenTaskPaths(Object[] taskPaths) {
            return CollectionUtils.toStringList(GUtil.flatten(taskPaths, new ArrayList<>()));
        }
    
        /**
         * Creates a result from the output of a single Gradle invocation.
         *
         * @param output The raw build stdout chars.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/internal/classpath/BuildScriptClasspathInstrumentationIntegrationTest.groovy

                serializer.readMetadataOnly(it).artifactName == artifactName
            }.collect {
                it.parentFile.listFiles().findAll { it.name == fileName }
            }.flatten() as Set<TestFile>
        }
    
        Set<TestFile> typeHierarchyAnalysisOutputs(String artifactName, File cacheDir = getCacheDir()) {
            return analyzeOutputs(artifactName, TYPE_HIERARCHY_ANALYSIS_FILE_NAME, cacheDir)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 15:08:33 UTC 2024
    - 29K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

      // Add inline pass.
      pass_manager.addPass(mlir::createInlinerPass());
    
      // Expands mhlo.tuple ops.
      pass_manager.addPass(
          mlir::mhlo::createExpandHloTuplesPass(entry_function_name.str()));
      // Flatten tuples for control flows.
      pass_manager.addNestedPass<mlir::func::FuncOp>(
          mlir::mhlo::createFlattenTuplePass());
    
      mlir::odml::AddMhloOptimizationPasses(
          pass_manager,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  4. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    	// NodeName is set by the scheduler after the pod is created
    	// https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#late-initialization
    	node := ptr.Flatten(krt.FetchOne(ctx, Nodes, krt.FilterKey(pod.Spec.NodeName)))
    	if node == nil {
    		if pod.Spec.NodeName != "" {
    			log.Warnf("unable to get node %q for pod %q/%q", pod.Spec.NodeName, pod.Namespace, pod.Name)
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

        }
    
        @Nonnull
        @Override
        public List<Node> flattenDependencies(@Nonnull Node node, @Nonnull PathScope scope) {
            return getService(DependencyResolver.class).flatten(this, node, scope);
        }
    
        @Override
        public List<Path> resolveDependencies(DependencyCoordinate dependency) {
            return getService(DependencyResolver.class).resolve(this, dependency).getPaths();
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  6. src/go/internal/gcimporter/gcimporter_test.go

    	testenv.MustHaveGoBuild(t)
    
    	testfiles := map[string][]string{
    		"exports.go":  {"go/ast", "go/token"},
    		"generics.go": nil,
    	}
    	if true /* was goexperiment.Unified */ {
    		// TODO(mdempsky): Fix test below to flatten the transitive
    		// Package.Imports graph. Unified IR is more precise about
    		// recreating the package import graph.
    		testfiles["exports.go"] = []string{"go/ast"}
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  7. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    					_, _ = fmt.Fprintf(c.OutOrStdout(), "%v.%v:\n%v\n", podName, podNamespace, resp)
    				} else {
    					errs = multierror.Append(fmt.Errorf("%v.%v: %v", podName, podNamespace, err))
    				}
    			}
    			if err := multierror.Flatten(errs.ErrorOrNil()); err != nil {
    				return err
    			}
    			return nil
    		},
    		ValidArgsFunction: completion.ValidPodsNameArgs(ctx),
    	}
    
    	levelListString := fmt.Sprintf("[%s, %s, %s, %s, %s, %s, %s]",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 22K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/NestedInputIntegrationTest.groovy

                    Iterable<Object> beans
    
                    @OutputFile
                    File outputFile
    
                    @TaskAction
                    void doStuff() {
                        outputFile.text = beans.flatten()*.input.join('\\n')
                    }
                }
    
                def inputString = providers.gradleProperty('input').getOrElse('input')
    
                task myTask(type: TaskWithNestedIterable) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  9. tensorflow/cc/gradients/array_grad.cc

      auto indices_size = ExpandDims(scope, Size(scope, indices), 0);
      Output outer_shape, flat_values_shape;
      if (batch_dims != 0) {
        auto values_shape = Shape(scope, values);
        // Add the batch offsets to indices and flatten the batch dimensions.
        outer_shape = Slice(scope, values_shape, {0}, {batch_dims});
        auto inner_shape =
            Slice(scope, Slice(scope, values_shape, {batch_dims}, {-1}), {1}, {-1});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 31.7K bytes
    - Viewed (0)
  10. pilot/pkg/model/telemetry.go

    					// This is a bit funky because the matches are oneof of ENUM and customer metric. We normalize
    					// these to strings, so we may end up with a list like [REQUEST_COUNT, my-customer-metric].
    					// TODO: we always flatten ALL_METRICS into each metric mode. For some stats providers (prometheus),
    					// we are able to apply overrides to all metrics directly rather than duplicating the config.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 18:14:09 UTC 2024
    - 35.2K bytes
    - Viewed (0)
Back to top