- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 172 for Ntype (0.06 sec)
-
tensorflow/c/experimental/saved_model/core/saved_variable_loading_test.cc
// 1. does not cause an error // 2. preserves dtype and shape. TEST_P(SavedVariableLoadingTest, LoadSavedVariableSuccessful) { auto& test_params = GetParam(); DataType dtype = std::get<0>(test_params); TensorShape shape(std::get<1>(test_params)); SavedVariable saved_variable; saved_variable.set_dtype(dtype); shape.AsProto(saved_variable.mutable_shape()); std::unique_ptr<Variable> var;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 27 09:34:33 UTC 2024 - 6.2K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/ops/variable_ops.cc
DataType dtype, TensorShape shape, const char* raw_device_name, ImmediateTensorHandlePtr* handle) { ImmediateOpPtr varhandle_op(ctx->CreateOperation()); TF_RETURN_IF_ERROR(varhandle_op->Reset("VarHandleOp", raw_device_name)); TF_RETURN_IF_ERROR(varhandle_op->SetAttrType("dtype", dtype));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 23 11:28:19 UTC 2024 - 5K bytes - Viewed (0) -
test/fixedbugs/issue9604b.go
_type{"int16", 16, true}, _type{"uint16", 16, false}, _type{"int32", 32, true}, _type{"uint32", 32, false}, _type{"int64", 64, true}, _type{"uint64", 64, false}, _type{"int", 8 * uint(unsafe.Sizeof(int(0))), true}, _type{"uint", 8 * uint(unsafe.Sizeof(uint(0))), false}, _type{"uintptr", 8 * uint(unsafe.Sizeof((*byte)(nil))), false}, } type binop struct { name string eval func(x, y *big.Int) *big.Int }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 4.8K bytes - Viewed (0) -
pkg/util/pod/pod_test.go
{ Type: cType, Status: v1.ConditionTrue, }, }, }, { description: "replace", conditions: []v1.PodCondition{ { Type: cType, Status: v1.ConditionTrue, }, }, condition: v1.PodCondition{ Type: cType, Status: v1.ConditionFalse, }, wantConditions: []v1.PodCondition{ { Type: cType,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 07 15:22:29 UTC 2022 - 4.5K bytes - Viewed (0) -
src/cmd/compile/internal/reflectdata/helpers.go
// and returns an expression that yields the *runtime._type value // representing that map type. func MakeMapRType(pos src.XPos, n *ir.MakeExpr) ir.Node { assertOp(n, ir.OMAKEMAP) if hasRType(n, n.RType, "RType") { return n.RType } return mapRType(pos, n.Type()) } // MakeSliceElemRType asserts that n is a "make" operation for a slice // type, and returns an expression that yields the *runtime._type
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 12 04:50:32 UTC 2023 - 7.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/convert_type.h
using tsl::StatusOr; // Converts the TensorFlow DataType 'dtype' into an MLIR (scalar) type. Status ConvertDataType(DataType dtype, mlir::Builder builder, mlir::Type* type); // Converts a scalar MLIR type to a TensorFlow Datatype. Status ConvertScalarTypeToDataType(mlir::Type type, DataType* dtype); // Converts an MLIR type to TensorFlow DataType. If 'type' is a scalar type, it
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 2.2K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_device_ops.cc
mutex_lock ml(*variable->mu()); OP_REQUIRES( context, !variable->is_initialized || variable->tensor()->dtype() == dtype_, errors::InvalidArgument( "Trying to assign variable with wrong dtype. Expected ", DataTypeString(variable->tensor()->dtype()), " got ", DataTypeString(dtype_))); variable->is_initialized = true; *variable->tensor() = value; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/parse_example_v2.pbtxt
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 14 15:35:49 UTC 2023 - 3.6K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/ops/variable_ops.h
DataType dtype, TensorShape shape, const char* raw_device_name, ImmediateTensorHandlePtr* handle); // Executes an AssignVariableOp using `ctx`, assigning the variable associated // with `variable_handle` with `value`. `dtype` must be the datatype of the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 30 21:44:45 UTC 2022 - 3.2K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/ops/restore_ops.h
// Restores a single non-partioned tensorhandle of dtype `dtype`, using // checkpoint at `prefix`, with a value stored in `checkpoint_key`. Status SingleRestore(ImmediateExecutionContext* ctx, const std::string& prefix, const std::string& checkpoint_key, DataType dtype, ImmediateTensorHandlePtr* out); } // namespace internal } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 30 21:44:45 UTC 2022 - 1.6K bytes - Viewed (0)