Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 313 for Flatten (3.77 sec)

  1. 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)
  2. 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)
  3. 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)
  4. platforms/documentation/docs/build.gradle

        FileFilter directoriesOnly = { it.directory }
        def topLevelDirs = file('src/snippets').listFiles(directoriesOnly)
        def snippetDirs = topLevelDirs*.listFiles(directoriesOnly).flatten().grep {
            new File(it, "kotlin").exists() || new File(it, "groovy").exists()
        }
    
        snippetDirs.each { File snippetDir ->
            String snippetName = snippetDir.name
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 15:37:11 UTC 2024
    - 42K bytes
    - Viewed (0)
  5. src/go/types/issues_test.go

    			}
    			continue
    		}
    		if test.err == "" {
    			t.Errorf("package %s: got %q, want not error", pkg.Name(), err.Error())
    		}
    
    		// flatten reported error message
    		errmsg := strings.ReplaceAll(err.Error(), "\n", " ")
    		errmsg = strings.ReplaceAll(errmsg, "\t", "")
    
    		// verify error message
    		if !strings.Contains(errmsg, test.err) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  6. tests/integration/pilot/common/routing.go

    	unique := sets.SortedList(sets.New(hostnames...))
    	if len(unique) != 1 {
    		return fmt.Errorf("expected only one destination, got: %v", unique)
    	}
    	return nil
    }
    
    func flatten(clients ...[]echo.Instance) []echo.Instance {
    	var instances []echo.Instance
    	for _, c := range clients {
    		instances = append(instances, c...)
    	}
    	return instances
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 21:52:51 UTC 2024
    - 135.9K bytes
    - Viewed (0)
  7. tools/istio-iptables/pkg/capture/run.go

    		}
    	} else {
    		groupIsNoneOf := CombineMatchers(ownerGroupsFilter.Values, func(group string) []string {
    			return []string{"-m", "owner", "!", "--gid-owner", group}
    		})
    		f.Run(Flatten([]string{"-p", "udp", "--dport", "53"}, groupIsNoneOf, []string{"-j", constants.RETURN})...)
    	}
    
    	if captureAllDNS {
    		// Redirect all UDP dns traffic on port 53 to the agent on port 15053
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 03:53:23 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/issues_test.go

    			}
    			continue
    		}
    		if test.err == "" {
    			t.Errorf("package %s: got %q, want not error", pkg.Name(), err.Error())
    		}
    
    		// flatten reported error message
    		errmsg := strings.ReplaceAll(err.Error(), "\n", " ")
    		errmsg = strings.ReplaceAll(errmsg, "\t", "")
    
    		// verify error message
    		if !strings.Contains(errmsg, test.err) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  9. src/cmd/internal/dwarf/dwarf.go

    	// with respect to the start of the parent subprogram DIE.
    	var offsets []int32
    
    	// Scopes/vars
    	if len(s.Scopes) > 0 {
    		// For abstract subprogram DIEs we want to flatten out scope info:
    		// lexical scope DIEs contain range and/or hi/lo PC attributes,
    		// which we explicitly don't want for the abstract subprogram DIE.
    		pvars := inlinedVarTable(&s.InlCalls)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 15:23:18 UTC 2024
    - 43K bytes
    - Viewed (0)
  10. istioctl/pkg/proxyconfig/proxyconfig.go

    				} else {
    					_, _ = fmt.Fprintf(c.OutOrStdout(), "%v.%v:\n%v", podName, podNamespace, resp)
    				}
    			}
    			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: Tue Apr 16 03:28:36 UTC 2024
    - 48K bytes
    - Viewed (0)
Back to top