- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 190 for Scalar (0.12 sec)
-
tensorflow/cc/saved_model/loader.cc
} } return absl::OkStatus(); } Tensor CreateStringTensor(const string& value) { Tensor tensor(DT_STRING, TensorShape({})); tensor.scalar<tstring>()() = value; return tensor; } void AddAssetsTensorsToInputs(const StringPiece export_dir, const std::vector<AssetFileDef>& asset_file_defs,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 02 04:36:00 UTC 2024 - 23K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.td
let description = [{ This op loads a restored variable tensor as a tensor future. It is a replacement of `tf.ReadVariableOp`. This op returns a scalar string tensor containing the restored variable name, which is composed from `container_name` and `shared_name` from a `var_handle` and can be used as a key within the runtime, as well as a future for the tensor.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 20:44:15 UTC 2024 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.cc
static absl::StatusOr<std::vector<int>> ParseShapeStr( absl::string_view node_shapes_str) { std::vector<int> dims; for (absl::string_view dim_str : absl::StrSplit(node_shapes_str, ',')) { // Treats empty input shape as scalar if (dim_str.empty()) continue; if (dim_str == "?") { dims.push_back(-1); continue; } int size; TF_RET_CHECK(absl::SimpleAtoi(dim_str, &size)); dims.push_back(size);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 10.4K bytes - Viewed (0) -
src/cmd/internal/obj/ppc64/asm9.go
/* VSX scalar load */ {as: ALXSDX, a1: C_XOREG, a6: C_VSREG, type_: 87, size: 4}, /* vsx scalar load, xx1-form */ /* VSX scalar store */ {as: ASTXSDX, a1: C_VSREG, a6: C_XOREG, type_: 86, size: 4}, /* vsx scalar store, xx1-form */ /* VSX scalar as integer load */ {as: ALXSIWAX, a1: C_XOREG, a6: C_VSREG, type_: 87, size: 4}, /* vsx scalar as integer load, xx1-form */
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 13:55:28 UTC 2024 - 156.1K bytes - Viewed (0) -
tensorflow/cc/ops/while_loop.cc
return errors::InvalidArgument( "BuildWhileLoop: 'cond' argument must return a boolean output, got ", DataTypeString(raw_cond_out.type())); } // TODO(skyewm): check that raw_cond_out is scalar *output = LoopCond(scope, raw_cond_out).output; return absl::OkStatus(); } // Create the body subgraph defined by `body`. `outputs` must be non-null and // empty.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 01:01:21 UTC 2024 - 9.5K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_cluster_util_test.cc
{{"r"}, "Identity", {"var"}, {{"T", DT_FLOAT}}}}); *fdef_lib->add_function() = make_ref_float; } void AddRegularFunctionFunctionDef(FunctionDefLibrary* fdef_lib) { Tensor seven(DT_FLOAT, {}); seven.scalar<float>()() = 7; FunctionDef make_regular_float = FunctionDefHelper::Define( "RegularFloatFn", {}, {"r:float"}, {}, {{{"r"}, "Const", {}, {{"dtype", DT_FLOAT}, {"value", seven}}}});
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 10.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.h
const SmallVector<T>& values) { return CreateConstValue<T>(builder, loc, {static_cast<int64_t>(values.size())}, values); } // Creates a scalar with integer / float type. template <typename T> Value CreateScalarConstValue(OpBuilder& builder, const Location loc, const T value) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
} } return indexes; } // Creates a slice of the tensorlist `input_list`, starting from // [start_index, 0, ...0], with size [size, -1, ...-1]. // // Requires that `start_index` and `size` are scalar tensors and // `item_position_shape` is a 1-D tensor with only one element equal to the rank // of an item in the tensorlist. TF::SliceOp CreateSliceOpForTensorList(Location loc, Value input_list,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
operator/pkg/util/merge_iop.go
// to add these to source protos but because the values field is defined as // map[string]interface{} here (and similar for MeshConfig in v1alpha1.Values) // that alone would not be sufficient. // Only non-scalar types require tags, therefore most fields are omitted here. type iopMergeStructType struct { metav1.ObjectMeta `json:"metadata" patchStrategy:"merge"` Spec istioOperatorSpec `json:"spec" patchStrategy:"merge"` }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Feb 02 18:21:41 UTC 2024 - 16.2K bytes - Viewed (0) -
src/runtime/mbitmap.go
// described by bitmaps with 1 bit per pointer-sized word. A "1" bit // means the word is a live pointer to be visited by the GC (referred to // as "pointer"). A "0" bit means the word should be ignored by GC // (referred to as "scalar", though it could be a dead pointer value). // // Heap bitmaps // // The heap bitmap comprises 1 bit for each pointer-sized word in the heap, // recording whether a pointer is stored in that word or not. This bitmap
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 60K bytes - Viewed (0)