- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 25 for Enumerated (0.18 sec)
-
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/events/test/Destination.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.tooling.events.test; import java.io.Serializable; /** * Enumerates possible output streams for {@link TestOutputEvent}. * * @since 6.0 */ public enum Destination implements Serializable { StdOut(0), StdErr(1); private final int code;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 13:57:30 UTC 2024 - 1.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/permutation.h
SmallVector<T> Permute(const ArrayRef<T> values, const ArrayRef<int64_t> permutation) { SmallVector<T> permuted_values(/*Size=*/values.size(), /*Value=*/T{}); for (auto [i, permutation_idx] : llvm::enumerate(permutation)) { permuted_values[i] = std::move(values[permutation_idx]); } return permuted_values; } } // namespace mlir::quant
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 00:14:00 UTC 2024 - 1.9K bytes - Viewed (0) -
hack/boilerplate/boilerplate.py
) return False if not generated: # Replace all occurrences of the regex "2014|2015|2016|2017|2018" with "YEAR" pattern = regexs["date"] for i, line in enumerate(data): data[i], found = pattern.subn("YEAR", line) if found != 0: break # if we don't match the reference at this point, fail if ref != data:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:51 UTC 2024 - 7.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/annotate_parameter_replication.cc
mlir::cast<IntegerAttr>(mirrored_index).getInt()); } } auto func = llvm::cast<func::FuncOp>(m.lookupSymbol(cluster_func.getFunc())); for (auto entry : llvm::enumerate(cluster_func.getOperands())) { auto operand = SkipIdentityAndReadVariable(entry.value()); auto block_arg = mlir::dyn_cast<BlockArgument>(operand); if (block_arg && block_arg.getOwner() == &replicate.GetBody()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.1K bytes - Viewed (0) -
pkg/volume/util/hostutil/hostutil.go
See the License for the specific language governing permissions and limitations under the License. */ package hostutil import ( "fmt" "os" "k8s.io/mount-utils" ) // FileType enumerates the known set of possible file types. type FileType string const ( // FileTypeBlockDev defines a constant for the block device FileType. FileTypeBlockDev FileType = "BlockDevice"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 13:38:40 UTC 2024 - 4.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.cc
int64_t &next_id) { llvm::SmallVector<ResourceHandleValueAndId, 4> resource_vec; llvm::StringRef device = GetDeviceOrEmpty(getOperation()); for (const auto &iter : llvm::enumerate(getResults())) { auto index = iter.index(); if (mlir::isa<TF::ResourceType>( getElementTypeOrSelf(iter.value().getType()))) { resource_vec.push_back(GetResourceHandleValueAndIdBase(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.6K bytes - Viewed (0) -
testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/BazelFileContentGenerator.groovy
@RunWith(Suite.class) @Suite.SuiteClasses({ %s }) public class %s {} """ _PREFIXES = ("org", "com", "edu") def _SafeIndex(l, val): for i, v in enumerate(l): if val == v: return i return -1 def _AsClassName(fname): fname = [x.path for x in fname.files.to_list()][0] toks = fname[:-5].split("/") findex = -1
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 5.7K bytes - Viewed (0) -
docs/pt/docs/tutorial/path-params.md
```Python hl_lines="17" {!../../../docs_src/path_params/tutorial005.py!} ``` #### Obtenha o *valor de enumerate* VocĂȘ pode ter o valor exato de enumerate (um `str` nesse caso) usando `model_name.value`, ou em geral, `your_enum_member.value`: ```Python hl_lines="20" {!../../../docs_src/path_params/tutorial005.py!} ``` !!! tip "Dica"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 9.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_annotate_dynamic_shape_inputs.cc
// Traverse the operands of the cluster func op and find which operand // is returned by TPUAnnotateTensorsWithDynamicShapeOp. for (const auto& cluster_func_operand : llvm::enumerate(cluster_func_op.getOperands())) { auto device_launch_op = llvm::dyn_cast<tf_device::LaunchOp>( GetOpOfValue(cluster_func_operand.value())); if (!device_launch_op) continue;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/device_util.cc
mlir::ArrayAttr array_attr, mlir::TF::RuntimeDevices* devices) { DeviceNameUtils::ParsedName device; for (const auto& kv : llvm::enumerate(array_attr)) { const int idx = kv.index(); auto string_attr = mlir::dyn_cast<mlir::StringAttr>(kv.value()); if (!string_attr) return op->emitOpError(llvm::formatv(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.4K bytes - Viewed (0)