- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 123 for getOperation (0.21 sec)
-
plugin/pkg/admission/serviceaccount/admission.go
if shouldIgnore(a) { return nil } pod := a.GetObject().(*api.Pod) if a.GetOperation() == admission.Update && a.GetSubresource() == "ephemeralcontainers" { return s.limitEphemeralContainerSecretReferences(pod, a) } if a.GetOperation() != admission.Create { // we only validate pod specs during create requests return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 12 17:49:30 UTC 2024 - 18.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/tensorflow/fallback_to_flex_ops.cc
return QuantizableOpsInDefaultMode().count(op_name) > 0; } else if (mode_ == kLegacyIntegerMode) { return QuantizableOpsInLegacyMode().count(op_name) > 0; } else { mlir::emitError(getOperation().getLoc(), "Unregconized mode: " + mode_); signalPassFailure(); return true; } } // Converts the operation to a TFLite Flex op. bool ConvertToFlexOp(Operation *op); };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc
if (!body->findAncestorOpInBlock(*user)) use.set(new_ret); } } // Move ops that depend on something in the cluster behind the cluster. Operation* op_after_cluster = cluster.getOperation()->getNextNode(); for (Operation* op : cluster_successor_ops) op->moveBefore(op_after_cluster); return cluster; } // Returns an op of the given type that uses the result, along with
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 22:03:30 UTC 2024 - 39.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/rest/update.go
staticAttributes.GetName(), staticAttributes.GetResource(), staticAttributes.GetSubresource(), staticAttributes.GetOperation(), staticAttributes.GetOperationOptions(), staticAttributes.IsDryRun(), staticAttributes.GetUserInfo(), ) if !validatingAdmission.Handles(finalAttributes.GetOperation()) { return nil } return validatingAdmission.Validate(ctx, finalAttributes, o) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 27 11:48:28 UTC 2022 - 11.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc
ConversionPatternRewriter &rewriter) const override { if (!IsIllegalType(op.getOutput().getType())) return failure(); TF::TensorProtoAttr tensor_proto_attr; if (!matchPattern(op.getOperation(), m_Constant(&tensor_proto_attr))) { return rewriter.notifyMatchFailure(op, "operand must be constant."); } auto dense_attr_or = GetDenseAttrFromTensorProtoAttr( tensor_proto_attr.getValue(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc
}; void DenseToSparsePass::runOnOperation() { func::FuncOp func = getOperation(); OpBuilder builder(func); func.walk([&](SparseOpInterface sparse_op) { const auto& sparse_operands = sparse_op.GetSparseOperands(); std::vector<std::vector<int>> supported_block_size; for (int operand : sparse_operands) { auto* op = sparse_op.getOperation(); auto value = op->getOperand(operand);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc
StringRef attr_name = attr.getName().getValue(); if (attr_name.starts_with("tf_saved_model.")) { func->removeAttr(attr_name); } } auto iface = cast<FunctionOpInterface>(func.getOperation()); for (int i = 0; i < func.getNumArguments(); ++i) { for (auto& attr : iface.getArgAttrs(i)) { const StringAttr& attr_name = attr.getName(); if (attr_name.getValue().starts_with("tf_saved_model.")) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16.5K bytes - Viewed (0) -
pkg/volume/util/nestedpendingoperations/nestedpendingoperations.go
if opIndex == -1 || (podNameExactMatch && nodeNameExactMatch) { opIndex = previousOpIndex } } } return opIndex != -1, opIndex } func (grm *nestedPendingOperations) getOperation(key operationKey) (uint, error) { // Assumes lock has been acquired by caller. for i, op := range grm.operations { if op.key.volumeName == key.volumeName && op.key.podName == key.podName &&
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Aug 26 01:29:17 UTC 2022 - 12.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_tf_ops_pass.cc
// the results of the other tf_device.remote_run operations using the // `mapping` as appropriate. Operation *cloned_remote_run_op = builder.clone(*remote_run_op.getOperation(), mapping); remote_run_op.erase(); // Replaces usages of the results of the original operations with the // results of the tf_device.remote_run operations.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 13.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/replicate_to_island.cc
if (replica.GetBody().getOperations().size() > 1) { mlir::TF::SplitIsland(replica, control_type); } } } island_op.erase(); return success(); } void ReplicateToIslandPass::runOnOperation() { const Dialect* tf_dialect = getContext().getLoadedDialect("tf"); if (!tf_dialect) { getOperation().emitError() << "'tf' dialect is not registered";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jul 24 21:01:40 UTC 2023 - 16.9K bytes - Viewed (0)