- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 2,733 for converts (0.18 sec)
-
tensorflow/cc/framework/cc_op_gen_util.h
OpList& ops, bool include_internal, const std::vector<string>& api_def_dirs); // Converts: // bazel-out/.../(bin|genfiles)/(external/YYY/)?XX // to: XX. string GetPath(StringPiece dot_h_fname); // Converts: some/path/to/file.xx // to: file // (note that suffix is removed) string GetFilename(StringPiece path); // Converts: // cc/ops/gen_foo_ops.h // to: // CC_OPS_GEN_FOO_OPS_H_
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 00:57:05 UTC 2024 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/size_utils.h
#ifndef TENSORFLOW_COMPILER_MLIR_LITE_UTILS_SIZE_UTILS_H_ #define TENSORFLOW_COMPILER_MLIR_LITE_UTILS_SIZE_UTILS_H_ #include <cstdint> namespace mlir { namespace TFL { // Converts a TF size (64-bit) to TFLite (32-bit) and properly converts TF's // value for dynamic size (`std::numeric_limits<int64_t>::min()`) to the // TFLite-specific value. int32_t ConvertToTfliteSize(int64_t size); } // namespace TFL } // namespace mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Dec 23 16:15:59 UTC 2022 - 1.1K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/file/RelativeFilePathResolver.java
/** * Resolves a path object relative to some base directory. */ public interface RelativeFilePathResolver { /** * Converts the given path to a relative path. */ String resolveAsRelativePath(Object path); /** * Converts the given path to a path that is useful to display to a human, for example in logging or error reports.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 1.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/convert_attr.h
namespace tensorflow { using tsl::StatusOr; // Converts non func AttrValue proto into an MLIR attribute. Func attribute is // exclused in this function because the function might be renamed when the // function definition is imported. absl::StatusOr<mlir::Attribute> ConvertNonFuncAttributeValue( const AttrValue& value, mlir::Builder* builder); // Converts all kinds of AttrValue proto into an MLIR attribute.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 1.6K bytes - Viewed (0) -
operator/pkg/util/path.go
if pp != p2[i] { return false } } return true } // ToYAMLPath converts a path string to path such that the first letter of each path element is lower case. func ToYAMLPath(path string) Path { p := PathFromString(path) for i := range p { p[i] = firstCharToLowerCase(p[i]) } return p } // ToYAMLPathString converts a path string such that the first letter of each path element is lower case.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Dec 12 17:12:54 UTC 2023 - 5.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow_to_stablehlo/python/pywrap_tensorflow_to_stablehlo_lib.h
#include "absl/strings/string_view.h" namespace mlir::tensorflow_to_stablehlo::pywrap { // Converts a TensorFlow SavedModel to a StableHLO MLIR module and serializes it // to bytecode. // // Args: // input_path: The path to the SavedModel directory. // exported_model_signatures: Comma-separated list of exported model // signatures to convert. tag_names: Comma-separated list of tags for loading // SavedModel.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 22:58:42 UTC 2024 - 2.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc
else input_tensor.AsProtoField(&tensor_proto); return tensor_proto; } static std::string MangleTensor(const Tensor& tensor) { return mangling_util::MangleTensor(ConvertToProto(tensor)); } // Converts a TensorFlow tensor into an MLIR elements attribute. template <typename T> absl::StatusOr<ElementsAttr> ConvertFlatTensor(const Tensor& input_tensor, ShapedType type) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 20.5K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/security_context.go
synthesized.ReadonlyPaths = securitycontext.ConvertToRuntimeReadonlyPaths(effectiveSc.ProcMount) return synthesized, nil } // convertToRuntimeSecurityContext converts v1.SecurityContext to runtimeapi.SecurityContext. func convertToRuntimeSecurityContext(securityContext *v1.SecurityContext) *runtimeapi.LinuxContainerSecurityContext { if securityContext == nil { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 5.2K bytes - Viewed (0) -
platforms/core-runtime/wrapper-shared/src/main/java/org/gradle/util/internal/WrapperDistributionUrlConverter.java
import org.gradle.api.NonNullApi; import java.io.File; import java.net.URI; import java.net.URISyntaxException; /** * Converts a wrapper distribution url to a URI. */ @NonNullApi public class WrapperDistributionUrlConverter { /** * Converts the given distribution url to a URI. * <p> * If the url is relative, it is resolved against the given file root.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:12:34 UTC 2023 - 1.7K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/helpers.go
return runtimeapi.Protocol_TCP } // toKubeContainer converts runtimeapi.Container to kubecontainer.Container. func (m *kubeGenericRuntimeManager) toKubeContainer(c *runtimeapi.Container) (*kubecontainer.Container, error) { if c == nil || c.Id == "" || c.Image == nil { return nil, fmt.Errorf("unable to convert a nil pointer to a runtime container") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 02:01:31 UTC 2024 - 12K bytes - Viewed (0)