- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,618 for converts (0.18 sec)
-
tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.h
namespace tf2xla { namespace v2 { // Given an MLIR module, returns a GraphDef. absl::StatusOr<std::unique_ptr<GraphDef>> ConvertMlirToGraphdef( mlir::ModuleOp module, const GraphExportConfig& configs); // Converts an MLIR module to TensorFlow graph and FunctionLibraryDefinition. // The "main" function of the module is stored in the graph and the rest of // functions are stored in the library. Control ret nodes are stored separately
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 23:04:51 UTC 2024 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.h
// Given an MLIR module, returns a GraphDef. absl::StatusOr<std::unique_ptr<GraphDef>> ConvertMlirToGraphdef( mlir::ModuleOp module, const GraphExportConfig& configs); // Converts an MLIR module to TensorFlow graph and FunctionLibraryDefinition. // The "main" function of the module is stored in the graph and the rest of // functions are stored in the library. Control ret nodes are stored separately
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 22:19:26 UTC 2024 - 3.1K bytes - Viewed (0) -
src/syscall/timestruct.go
//go:build unix || (js && wasm) || wasip1 package syscall // TimespecToNsec returns the time stored in ts as nanoseconds. func TimespecToNsec(ts Timespec) int64 { return ts.Nano() } // NsecToTimespec converts a number of nanoseconds into a [Timespec]. func NsecToTimespec(nsec int64) Timespec { sec := nsec / 1e9 nsec = nsec % 1e9 if nsec < 0 { nsec += 1e9 sec-- } return setTimespec(sec, nsec) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:03:59 UTC 2024 - 958 bytes - Viewed (0) -
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/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) -
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) -
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) -
platforms/core-runtime/files/src/test/groovy/org/gradle/internal/file/PosixFilePermissionConverterTest.groovy
import static java.nio.file.attribute.PosixFilePermission.OWNER_READ import static java.nio.file.attribute.PosixFilePermission.OWNER_WRITE class PosixFilePermissionConverterTest extends Specification { def "converts Set<PosixFilePermission to int representation"() { expect: PosixFilePermissionConverter.convertToInt(perms) == intValue where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:50:56 UTC 2024 - 3.1K bytes - Viewed (0)