- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 266 for Canonicalize (0.34 sec)
-
tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/common.py
# for that API, which is otherwise a bit annoying to test. # The canonicalization shouldn't affect these tests in any way. mlir = pywrap_mlir.experimental_run_pass_pipeline( mlir, 'canonicalize', show_debug_info ) print(mlir) filename = '%s/result.mlirbc' % save_model_path pywrap_mlir.experimental_write_bytecode(filename, mlir) if not file_io.file_exists(filename):
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 02 23:49:27 UTC 2023 - 4K bytes - Viewed (0) -
tensorflow/compiler/jit/device_compilation_cluster_signature.cc
} return h; } absl::StatusOr<Signature> Signature::Build( const NameAttrList& function, absl::Span<const XlaCompiler::Argument> args) { Signature signature; signature.name = Canonicalize(function.name(), AttrSlice(&function.attr())); for (const XlaCompiler::Argument& arg : args) { switch (arg.kind) { case XlaCompiler::Argument::kConstant:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 06:59:07 UTC 2024 - 4.7K bytes - Viewed (0) -
src/cmd/compile/internal/types2/context.go
// concurrent use it is convenient not to guarantee de-duplication. // // Nevertheless, in the future it could be helpful to allow users to leverage // contexts to canonicalize instances, and it would probably be possible to // achieve such a guarantee. // A Context is an opaque type checking context. It may be used to share // identical type instances across type-checked packages or calls to
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 17:29:21 UTC 2023 - 4.3K bytes - Viewed (0) -
pkg/registry/core/namespace/strategy_test.go
} } func TestNamespaceDefaultLabelCanonicalize(t *testing.T) { namespace := &api.Namespace{ ObjectMeta: metav1.ObjectMeta{Name: "foo"}, } Strategy.Canonicalize(namespace) if namespace.Labels[v1.LabelMetadataName] != namespace.Name { t.Errorf("Invalid namespace, default label was not added") } } func TestNamespaceStatusStrategy(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 07 08:51:17 UTC 2021 - 6K bytes - Viewed (0) -
src/cmd/asm/internal/asm/endtoend_test.go
} } if hexes != "" { hexByLine[fmt.Sprintf("%s:%d", input, lineno)] = hexes } // Canonicalize spacing in printed form. // First field is opcode, then tab, then arguments separated by spaces. // Canonicalize spaces after commas first. // Comma to separate argument gets a space; comma within does not. var buf []byte nest := 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Dec 07 18:42:59 UTC 2023 - 11.6K bytes - Viewed (0) -
src/go/format/format.go
"io" ) // Keep these in sync with cmd/gofmt/gofmt.go. const ( tabWidth = 8 printerMode = printer.UseSpaces | printer.TabIndent | printerNormalizeNumbers // printerNormalizeNumbers means to canonicalize number literal prefixes // and exponents while printing. See https://golang.org/doc/go1.13#gofmt. // // This value is defined in go/printer specifically for go/format and cmd/gofmt. printerNormalizeNumbers = 1 << 30 )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 4.3K bytes - Viewed (0) -
pkg/registry/resource/resourceclaim/strategy.go
return validation.ValidateClaim(claim) } func (resourceclaimStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string { return nil } func (resourceclaimStrategy) Canonicalize(obj runtime.Object) { } func (resourceclaimStrategy) AllowCreateOnUpdate() bool { return false } func (resourceclaimStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 20:39:24 UTC 2024 - 5.3K bytes - Viewed (0) -
pkg/registry/resource/podschedulingcontext/strategy.go
return validation.ValidatePodSchedulingContexts(scheduling) } func (podSchedulingStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string { return nil } func (podSchedulingStrategy) Canonicalize(obj runtime.Object) { } func (podSchedulingStrategy) AllowCreateOnUpdate() bool { return false } func (podSchedulingStrategy) PrepareForUpdate(ctx context.Context, obj, old runtime.Object) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 20:39:24 UTC 2024 - 5.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/fake_quant_e2e_xla.mlir
module attributes {tf.versions = {bad_consumers = [], min_consumer = 12 : i32, producer = 1219 : i32}, tf_saved_model.semantics} {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 7.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/internal/language/language.go
r = _UK } if (r.typ() & ccTLD) == 0 { return 0, errNoTLD } return r, nil } // Canonicalize returns the region or a possible replacement if the region is // deprecated. It will not return a replacement for deprecated regions that // are split into multiple regions. func (r Region) Canonicalize() Region { if cr := normRegion(r); cr != 0 { return cr } return r }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 16.8K bytes - Viewed (0)