- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 48 for addBytes (0.17 sec)
-
src/net/unixsock_linux_test.go
} // Create an abstract socket name whose length is exactly // the maximum RawSockkaddrUnix Path len rsu := syscall.RawSockaddrUnix{} addrBytes := make([]byte, len(rsu.Path)) copy(addrBytes, "@abstract_test") addr := string(addrBytes) la, err := ResolveUnixAddr("unixgram", addr) if err != nil { t.Fatal(err) } c, err := ListenUnixgram("unixgram", la) if err != nil { t.Fatal(err)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 28 03:00:34 UTC 2017 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_dialect.cc
} }; } // namespace MlrtDialect::MlrtDialect(mlir::MLIRContext *context) : mlir::Dialect(/*name=*/"mlrt", context, mlir::TypeID::get<MlrtDialect>()) { addTypes<FutureType>(); addTypes<PromiseType>(); addTypes<AsyncHandleType>(); addInterfaces<MlrtInlinerInterface>(); addOperations< #define GET_OP_LIST #include "tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_ops.cpp.inc" >(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.2K bytes - Viewed (0) -
src/debug/dwarf/open.go
return nil, err } d.unit = u return d, nil } // AddTypes will add one .debug_types section to the DWARF data. A // typical object with DWARF version 4 debug info will have multiple // .debug_types sections. The name is used for error reporting only, // and serves to distinguish one .debug_types section from another. func (d *Data) AddTypes(name string, types []byte) error { return d.parseTypes(name, types) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 4.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback.cc
namespace tfrt { namespace fallback { FallbackDialect::FallbackDialect(MLIRContext *context) : Dialect(/*name=*/"tfrt_fallback", context, TypeID::get<FallbackDialect>()) { addTypes<TFTensorType, TFAllocatorType>(); addOperations< #define GET_OP_LIST #include "tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback.cpp.inc" >(); } /// Parse a type registered to this dialect.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/python/mlir_wrapper/ops.cc
.def(py::init([](mlir::Location loc, std::string name) { return mlir::OperationState(loc, llvm::StringRef(name)); })) .def("addTypes", [](mlir::OperationState& state, std::vector<mlir::Type> tys) { state.addTypes(mlir::ArrayRef<mlir::Type>(tys)); }) .def("addOperands", [](mlir::OperationState& os, std::vector<mlir::Value> ops) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 30 02:12:49 UTC 2022 - 7.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.cc
}; } // namespace TensorflowMlrtDialect::TensorflowMlrtDialect(mlir::MLIRContext *context) : mlir::Dialect(/*name=*/"tf_mlrt", context, mlir::TypeID::get<TensorflowMlrtDialect>()) { addTypes<TFTensorType, TFDeviceType>(); addInterfaces<TensorflowMlrtInlinerInterface>(); addOperations< #define GET_OP_LIST #include "tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.cpp.inc" >();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/gpu_fusion.cc
_FusedBatchNormExOp::getOperationName()); state.addOperands(batch_norm.getOperands()); if (side_input) state.operands.push_back(side_input); state.addTypes(batch_norm.getResultTypes()); state.addAttributes(batch_norm->getAttrs()); Operation *op = rewriter.create(state); rewriter.replaceOp(batch_norm, op->getResults());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 5.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/python/mlir_wrapper/mlir_wrapper.pyi
class OperationState: def __init__(self, arg0: Location, arg1: str) -> None: ... def addOperands(self, arg0: list[Value]) -> None: ... def addRegion(self) -> Region: ... def addTypes(self, arg0: list[Type]) -> None: ... class RankedTensorType(Type): def __init__(self, *args, **kwargs) -> None: ... def get(self, arg0: Type) -> RankedTensorType: ... class Region:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 09 17:10:09 UTC 2023 - 6.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc
#define GET_OP_LIST #include "tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc.inc" >(); addInterfaces<TensorFlowExecutorInlinerInterface, TensorFlowExecutorDialectFoldInterface>(); addTypes<ControlType, TokenType>(); } Type TensorFlowExecutorDialect::parseType(DialectAsmParser &parser) const { StringRef data_type; if (parser.parseKeyword(&data_type)) return Type();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 42.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.cc
// Create the TF op const std::string tf_op_full_name = absl::StrCat("tf.", node_def.op()); mlir::OperationState op_state(loc, tf_op_full_name); op_state.addOperands(func.getArguments()); op_state.addTypes(output_tys); op_state.addAttributes(attrs); mlir::Operation* tf_op = op_builder.create(op_state); op_builder.create<mlir::func::ReturnOp>(loc, tf_op->getResults()); // Run the decompose passes on the module
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 29 02:34:43 UTC 2024 - 9.1K bytes - Viewed (0)