- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 95 for getExt (0.14 sec)
-
tensorflow/compiler/mlir/lite/utils/validators.cc
if (mlir::cast<IntegerAttr>(elements.front()).getInt() != 1 || mlir::cast<IntegerAttr>(elements.back()).getInt() != 1) return false; Builder b(op->getContext()); *x = b.getI32IntegerAttr(mlir::cast<IntegerAttr>(elements[1]).getInt()); *y = b.getI32IntegerAttr(mlir::cast<IntegerAttr>(elements[2]).getInt()); *z = b.getI32IntegerAttr(mlir::cast<IntegerAttr>(elements[3]).getInt()); return true; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc
for (int i = 0; i < low_pads.size(); ++i) { new_low_pads[i] = low_pads[i].getInt() + parent_low_pads[i].getInt(); new_high_pads[i] = high_pads[i].getInt() + parent_high_pads[i].getInt(); new_interior_pads[i] = interior_pads[i].getInt() + parent_interior_pads[i].getInt(); } // Replace pad_op with a new pad having new attributes, taking the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 26.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/translate_utils.cc
if (!producer) return mlir::failure(); versions->set_producer(producer.getInt()); auto min_consumer = mlir::dyn_cast_or_null<mlir::IntegerAttr>( version_attr.get("min_consumer")); if (min_consumer) versions->set_min_consumer(min_consumer.getInt()); auto bad_consumers = mlir::dyn_cast_or_null<mlir::ArrayAttr>( version_attr.get("bad_consumers"));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_xla_attribute_utils.cc
for (int i : llvm::seq<int>(1, num_dims - 1)) { Value input_size_i = GetDimValue(builder, loc, input_shape_value, i); const int stride_i = mlir::cast<IntegerAttr>(strides[i]).getInt(); const int dilation_i = mlir::cast<IntegerAttr>(dilations[i]).getInt(); const int filter_i = filter_shape.getDimSize(i - 1); Value pad_i_low, pad_i_high; GetSamePaddingValues(builder, loc, input_size_i, filter_i, dilation_i,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 13.3K bytes - Viewed (0) -
src/cmd/link/internal/loong64/obj.go
Adddynrel: adddynrel, Archinit: archinit, Archreloc: archreloc, Archrelocvariant: archrelocvariant, Extreloc: extreloc, Machoreloc1: machoreloc1, Gentext: gentext, ELF: ld.ELFArch{ Linuxdynld: "/lib64/ld-linux-loongarch-lp64d.so.1", LinuxdynldMusl: "/lib/ld-musl-loongarch64.so.1", Freebsddynld: "XXX", Openbsddynld: "XXX",
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 05 13:49:14 UTC 2024 - 1.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td
"$_builder.getI32IntegerAttr($0.cast<IntegerAttr>().getInt())">; // Builds a constant bool attribute. class GetBoolAttr<int value> : NativeCodeCall<"$_builder.getBoolAttr(" # value #")">; // Converts an integer attribute $0 to 64-bit with builder. def convertIntAttrTo64Bit : NativeCodeCall< "$_builder.getI64IntegerAttr($0.cast<IntegerAttr>().getInt())">; // Extracts the single integer element from $_self.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 04 13:30:42 UTC 2024 - 28.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
*/ @GuardedBy("this") @CheckForNull E removeFromChain(E first, E entry) { int newCount = count; E newFirst = entry.getNext(); for (E e = first; e != entry; e = e.getNext()) { E next = copyEntry(e, newFirst); if (next != null) { newFirst = next; } else { newCount--; } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat May 18 03:24:34 UTC 2024 - 90.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc
return success(); } return op->emitOpError() << "module already contains an attribute " << attr_name << "=" << ex_attr_value.getInt() << ", overwritting to a new value " << attr_value.getInt() << " is not allowed."; } LogicalResult SetCollectiveInfo(IntegerAttr group_size, IntegerAttr group_key, Operation* op) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/tftext_utils.cc
fbb.Add(static_cast<int32_t>( mlir::dyn_cast<IntegerAttr>(*(hash_seed.getValue().data() + i)) .getInt())); } fbb.EndVector(vector_start, /*typed=*/true, /*fixed=*/false); auto buckets = mlir::dyn_cast_or_null<IntegerAttr>(attrs.get("buckets")); fbb.Int("buckets", buckets.getInt()); fbb.EndMap(start_map); fbb.Finish();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.4K bytes - Viewed (0) -
security/pkg/util/jwtutil.go
// limitations under the License. package util import ( "bytes" "encoding/base64" "encoding/json" "fmt" "strings" "time" ) // GetExp returns token expiration time, or error on failures. func GetExp(token string) (time.Time, error) { claims, err := parseJwtClaims(token) if err != nil { return time.Time{}, err } if claims["exp"] == nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 16:07:11 UTC 2024 - 3.2K bytes - Viewed (0)