- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 24 for ArgType (0.33 sec)
-
tensorflow/c/experimental/ops/gen/model/arg_type.h
// // This represents the type information with OpDef::ArgDef and any type-related // context. class ArgType { public: ArgType() = default; ArgType(const ArgType& other) = default; static ArgType CreateInput(const OpDef::ArgDef& arg_def); static ArgType CreateInputRef(const OpDef::ArgDef& arg_def); static ArgType CreateOutput(const OpDef::ArgDef& arg_def); const tensorflow::DataType data_type() const { return data_type_; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 15 18:23:40 UTC 2021 - 1.9K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/model/arg_type.cc
namespace tensorflow { namespace generator { ArgType ArgType::CreateInput(const OpDef::ArgDef& arg_def) { return ArgType(arg_def, kInput); } ArgType ArgType::CreateInputRef(const OpDef::ArgDef& arg_def) { return ArgType(arg_def, kInputRef); } ArgType ArgType::CreateOutput(const OpDef::ArgDef& arg_def) { return ArgType(arg_def, kOutput); } ArgType::ArgType(const OpDef::ArgDef& arg_def, Kind kind)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 15 18:23:40 UTC 2021 - 1.5K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/model/arg_spec.cc
namespace generator { ArgSpec::ArgSpec(const OpDef::ArgDef& arg_def, ArgType arg_type, int position) : name_(arg_def.name()), description_(arg_def.description()), arg_type_(arg_type), position_(position) {} ArgSpec ArgSpec::CreateInput(const OpDef::ArgDef& arg_def, int position) { if (arg_def.is_ref()) { return ArgSpec(arg_def, ArgType::CreateInputRef(arg_def), position); } else {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 15 18:23:40 UTC 2021 - 1.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/decode.go
off := a.BitFields.ParseSigned(i) << a.Shift neg := int64(-1) << (int(a.Shift) + a.BitFields.NumBits()) return Offset(neg | off) } } type ArgType int8 const ( TypeUnknown ArgType = iota TypePCRel // PC-relative address TypeLabel // absolute address TypeReg // integer register
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 22 17:16:14 UTC 2022 - 5.6K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/model/arg_spec.h
const string& description() const { return description_; } const ArgType arg_type() const { return arg_type_; } const int position() const { return position_; } private: explicit ArgSpec(const OpDef::ArgDef& arg_def, ArgType arg_type, int position); string name_; string description_; ArgType arg_type_; int position_; }; } // namespace generator
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 15 18:23:40 UTC 2021 - 1.8K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/cpp/views/arg_type_view.h
#include "tensorflow/core/platform/types.h" namespace tensorflow { namespace generator { namespace cpp { class ArgTypeView { public: explicit ArgTypeView(ArgType arg_type); string TypeName() const; private: ArgType arg_type_; }; } // namespace cpp } // namespace generator } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 15 18:23:40 UTC 2021 - 1.2K bytes - Viewed (0) -
src/text/template/funcs.go
// prepareArg checks if value can be used as an argument of type argType, and // converts an invalid value to appropriate zero if possible. func prepareArg(value reflect.Value, argType reflect.Type) (reflect.Value, error) { if !value.IsValid() { if !canBeNil(argType) { return reflect.Value{}, fmt.Errorf("value is nil; should be of type %s", argType) } value = reflect.Zero(argType) } if value.Type().AssignableTo(argType) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 22:23:55 UTC 2024 - 20.9K bytes - Viewed (0) -
platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGTestClassProcessor.java
*/ private void setConfigFailurePolicy(TestNG testNg, String value) { Class<?> argType; Object argValue; try { argType = Class.forName("org.testng.xml.XmlSuite$FailurePolicy", false, testNg.getClass().getClassLoader()); argValue = argType.getMethod("getValidPolicy", String.class).invoke(null, value); } catch (Exception e) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 21:25:59 UTC 2024 - 10.8K bytes - Viewed (0) -
src/cmd/compile/internal/walk/convert.go
switch { case fromType == argType: // already in the right type, nothing to do arg = n case fromType.Kind() == argType.Kind(), fromType.IsPtrShaped() && argType.IsPtrShaped(): // can directly convert (e.g. named type to underlying type, or one pointer to another) // TODO: never happens because pointers are directIface? arg = ir.NewConvExpr(pos, ir.OCONVNOP, argType, n)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 09 17:28:22 UTC 2023 - 18.2K bytes - Viewed (0) -
src/net/rpc/server.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 10 03:29:50 UTC 2024 - 21.6K bytes - Viewed (0)