- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 93 for Canonicalize (0.18 sec)
-
tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc
auto output_tensor_type = output_type.dyn_cast<TensorType>(); if (!input_tensor_type || !output_tensor_type) { return failure(); } // Canonicalize two tfr.cast pairs with different element type to // two tfr.casts with the same element type followed by a tf.Cast. if ((input_tensor_type.getElementType() != output_tensor_type.getElementType()) &&
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Nov 21 16:55:41 UTC 2023 - 38.2K bytes - Viewed (0) -
tensorflow/compiler/jit/kernels/xla_ops.cc
has_ref_vars_(has_ref_vars) {} void XlaLocalLaunchBase::ComputeAsync(OpKernelContext* ctx, DoneCallback done) { VLOG(1) << "XlaLocalLaunchOpBase::Compute " << Canonicalize(function_.name(), AttrSlice(&function_.attr())); xla_launch_counter->GetCell(platform_info_.device_type().type_string()) ->IncrementBy(1); std::vector<const Tensor*> inputs = InputsFromContext(ctx);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 22:46:36 UTC 2024 - 41.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-quant.mlir
// RUN: tf-opt -convert-tf-quant-types -quant-convert-tf-quant-ops-to-mhlo -canonicalize "-xla-legalize-tf=legalize-chlo=false" -split-input-file %s | FILECHECK_OPTS="" FileCheck %s //===----------------------------------------------------------------------===// // tf.UniformQuantizedDotHybrid legalization //===----------------------------------------------------------------------===// // CHECK-LABEL: func @quantized_matmul_fn
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 01:25:29 UTC 2024 - 37.3K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/cache.go
} info = new(RevInfo) if err := json.Unmarshal(data, info); err != nil { return file, nil, errNotCached } // The disk might have stale .info files that have Name and Short fields set. // We want to canonicalize to .info files with those fields omitted. // Remarshal and update the cache file if needed. data2, err := json.Marshal(info) if err == nil && !bytes.Equal(data2, data) { writeDiskCache(ctx, file, data) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 18:15:22 UTC 2024 - 24.7K bytes - Viewed (0) -
src/debug/dwarf/entry.go
// coarser classes from earlier versions of DWARF into the appropriate // DWARF 4 class. For example, DWARF 2 uses "constant" for constants // as well as all types of section offsets, but the reader will // canonicalize attributes in DWARF 2 files that refer to section // offsets to one of the Class*Ptr classes, even though these classes // were only defined in DWARF 3. type Class int const (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 30.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/constant-fold.mlir
// RUN: tf-opt %s -canonicalize | FileCheck %s // CHECK-LABEL: func @testShape func.func @testShape(tensor<f32>, tensor<1x32x32x16xf32>, tensor<*xf32>) -> (tensor<0xi32>, tensor<?xi32>, tensor<?xi32>) { ^bb0(%arg0: tensor<f32>, %arg1: tensor<1x32x32x16xf32>, %arg2: tensor<*xf32>): // CHECK-DAG: tf.Const{{.*}} dense<> : tensor<0xi32> %0 = "tf.Shape"(%arg0) {T = "tfdtype$DT_FLOAT", output = "tfdtype$DT_INT32"} : (tensor<f32>) -> tensor<0xi32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jan 31 23:22:24 UTC 2024 - 36.7K bytes - Viewed (0) -
pkg/controller/endpointslicemirroring/reconciler_test.go
} if epSlice.Annotations[annotation] != val { t.Errorf("Expected endpoint annotation %s to be mirrored correctly, got %s", annotation, epSlice.Annotations[annotation]) } } } // canonicalize endpoints to match the expected endpoints, otherwise the test // that creates more endpoints than allowed fail becaused the list of final // endpoints doesn't match.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 26 06:51:56 UTC 2024 - 42.7K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/expand_calls.go
return from } // This captures common, (apparently) safe cases. The unsafe cases involve ft == uintptr if (ft.IsPtr() || ft.IsUnsafePtr()) && pt.IsPtr() { return from } } // Simplify, canonicalize for from.Op == OpOffPtr { offset += from.AuxInt from = from.Args[0] } if from == x.sp { return x.f.ConstOffPtrSP(pt, offset, x.sp) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 28 05:13:40 UTC 2023 - 31.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/const-fold.mlir
// RUN: tf-opt %s -canonicalize | FILECHECK_OPTS="" FileCheck %s // CHECK-LABEL: @add_float func.func @add_float() -> (tensor<f32>, tensor<4xf32>, tensor<4xf32>, tensor<4xf32>, tensor<4xf32>) { %0 = arith.constant dense<4.5> : tensor<f32> %1 = arith.constant dense<1.5> : tensor<f32> %2 = arith.constant dense< 3.5> : tensor<4xf32> %3 = arith.constant dense<-0.5> : tensor<4xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 45.8K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/coderepo.go
// // The tag is otherwise valid for the module, so we can at least use it as // the base of an unambiguous pseudo-version. // // If multiple tags match, tagToVersion will canonicalize them to the same // base version. pseudoBase = v } } // Save the highest non-retracted canonical tag for the revision. // If we don't find a better match, we'll use it as the canonical version.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:50:24 UTC 2024 - 38.4K bytes - Viewed (0)