- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for split_outputs (0.13 sec)
-
tensorflow/compiler/mlir/tfr/examples/pad/ops_defs.py
right_padding_size = tf.raw_ops.GatherNd(params=paddings, indices=[i, 1]) split_outputs = tf.raw_ops.SplitV( value=input_, size_splits=[left_padding_size, -1, right_padding_size], axis=i, num_split=3) left_padding = split_outputs[0] core = split_outputs[1] right_padding = split_outputs[2] reversed_left_padding = tf.raw_ops.Reverse(tensor=left_padding, dims=rdims)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Oct 01 05:00:29 UTC 2021 - 5.6K bytes - Viewed (0) -
src/cmd/vet/vet_test.go
// Sources files are supplied as fullshort slice. // It consists of pairs: full path to source file and its base name. func errorCheck(outStr string, wantAuto bool, fullshort ...string) (err error) { var errs []error out := splitOutput(outStr, wantAuto) // Cut directory name. for i := range out { for j := 0; j < len(fullshort); j += 2 { full, short := fullshort[j], fullshort[j+1] out[i] = strings.ReplaceAll(out[i], full, short) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 01:02:40 UTC 2024 - 12.5K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/conversion_test.go
}) goldenFile := fmt.Sprintf("testdata/%s.yaml.golden", tt.name) res := append(output.Gateway, output.VirtualService...) util.CompareContent(t, marshalYaml(t, res), goldenFile) golden := splitOutput(readConfig(t, goldenFile, validator, tt.validationIgnorer)) // sort virtual services to make the order deterministic sort.Slice(golden.VirtualService, func(i, j int) bool {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 20:24:52 UTC 2024 - 34.9K bytes - Viewed (0) -
src/cmd/internal/testdir/testdir_test.go
} else { return fmt.Errorf("output should be empty when (optional) expected-output file %s is not present. Instead saw\n%s", filename, got) } } return nil } func splitOutput(out string, wantAuto bool) []string { // gc error messages continue onto additional lines with leading tabs. // Split the output at the beginning of each line that doesn't begin with a tab.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:08:06 UTC 2024 - 57.5K bytes - Viewed (0)