- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of about 10,000 for util2 (0.05 sec)
-
tensorflow/compiler/mlir/tfr/utils/utils.h
namespace TFR { // This is a hardcoded rule for mapping a TF op name to the corresponding // TFR function name. Examples: // tf.Pack => tf__pack // tf.ConcatV2 => tf__concat_v2 // TODO(fengliuai): move to an util file. std::string GetComposeFuncName(StringRef tf_op_name); // This is a hardcoded rule for mapping a TFR function op name to the // corresponding TF opname. Examples: // tf__pack -> tf.Pack
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 03:08:33 UTC 2023 - 2.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/utils/utils.cc
See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ #include "tensorflow/compiler/mlir/tfr/utils/utils.h" #include <string> #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/StringRef.h" #include "llvm/ADT/StringSet.h" #include "mlir/Support/LogicalResult.h" // from @llvm-project
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 03:08:33 UTC 2023 - 6.2K bytes - Viewed (0) -
tests/fuzz/utils/utils.go
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package utils import ( "os" "istio.io/istio/pkg/test" ) type NopTester struct{} func (n NopTester) Fail() {} func (n NopTester) FailNow() {} func (n NopTester) Fatal(args ...any) {}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Nov 30 15:31:14 UTC 2022 - 1.1K bytes - Viewed (0) -
security/pkg/k8s/chiron/utils.go
) ([]byte, []byte, []byte, error) { // 1. Generate a CSR options := util.CertOptions{ Host: dnsName, RSAKeySize: keySize, IsDualUse: false, PKCS8Key: false, } csrPEM, keyPEM, err := util.GenCSR(options) if err != nil { log.Errorf("CSR generation error (%v)", err) return nil, nil, nil, err } usages := []cert.KeyUsage{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 05 18:11:22 UTC 2024 - 9.2K bytes - Viewed (0) -
pkg/controller/volume/protectionutil/utils.go
See the License for the specific language governing permissions and limitations under the License. */ package protectionutil import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/kubernetes/pkg/util/slice" ) // IsDeletionCandidate checks if object is candidate to be deleted func IsDeletionCandidate(obj metav1.Object, finalizer string) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Mar 17 14:24:42 UTC 2019 - 1.1K bytes - Viewed (0) -
cmd/kubeadm/app/apis/bootstraptoken/v1/utils.go
"github.com/pkg/errors" v1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" bootstrapapi "k8s.io/cluster-bootstrap/token/api" bootstraputil "k8s.io/cluster-bootstrap/token/util" bootstrapsecretutil "k8s.io/cluster-bootstrap/util/secrets" ) const ( // When a token is matched with 'BootstrapTokenPattern', the size of validated substrings returned by // regexp functions which contains 'Submatch' in their names will be 3.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 26 15:51:39 UTC 2023 - 8.3K bytes - Viewed (0) -
utils/utils.go
package utils import ( "database/sql/driver" "fmt" "path/filepath" "reflect" "runtime" "strconv" "strings" "unicode" ) var gormSourceDir string func init() { _, file, _, _ := runtime.Caller(0) // compatible solution to get gorm source directory with various operating systems gormSourceDir = sourceDir(file) } func sourceDir(file string) string { dir := filepath.Dir(file)
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Mon Apr 22 06:43:02 UTC 2024 - 3.8K bytes - Viewed (0) -
fastapi/openapi/utils.py
from fastapi.dependencies.utils import get_flat_dependant, get_flat_params from fastapi.encoders import jsonable_encoder from fastapi.openapi.constants import METHODS_WITH_BODY, REF_PREFIX, REF_TEMPLATE from fastapi.openapi.models import OpenAPI from fastapi.params import Body, Param from fastapi.responses import Response from fastapi.types import ModelNameMap from fastapi.utils import ( deep_dict_update,
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 21.8K bytes - Viewed (0) -
pkg/controller/job/util/utils.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package util import ( batch "k8s.io/api/batch/v1" v1 "k8s.io/api/core/v1" ) // FinishedCondition returns true if a job is finished as well as the condition type indicating that.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 07 09:27:46 UTC 2024 - 1.5K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/nodevolumelimits/utils.go
limitations under the License. */ package nodevolumelimits import ( "strings" v1 "k8s.io/api/core/v1" storagev1 "k8s.io/api/storage/v1" "k8s.io/apimachinery/pkg/util/sets" utilfeature "k8s.io/apiserver/pkg/util/feature" csilibplugins "k8s.io/csi-translation-lib/plugins" v1helper "k8s.io/kubernetes/pkg/apis/core/v1/helper" "k8s.io/kubernetes/pkg/features" "k8s.io/kubernetes/pkg/scheduler/framework" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 14:55:34 UTC 2024 - 2.5K bytes - Viewed (0)