- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 102 for Vector$ (0.12 sec)
-
tensorflow/c/eager/c_api_unified_experimental.cc
limitations under the License. ==============================================================================*/ #include "tensorflow/c/eager/c_api_unified_experimental.h" #include <vector> #include "absl/container/flat_hash_map.h" #include "absl/strings/str_cat.h" #include "tensorflow/c/eager/c_api_unified_experimental_internal.h" #include "tensorflow/c/tf_datatype.h" #include "tensorflow/c/tf_status.h"
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_distributed_test.cc
// REMOTE, REMOTE, LOCAL on task0. When remote is true, function device is // placed on task1, Handle types are LOCAL, REMOTE, LOCAL on task1. int num_replicas = 3; std::vector<TFE_TensorHandle*> handles = {h0, h1, h2}; TFE_TensorHandle* packed_handle = TFE_CreatePackedTensorHandle(ctx, handles.data(), &num_replicas, status); ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 23.4K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
// `ctx_0`, `ctx_1`, `ctx_2` contains `remote_device`. { const std::vector<std::string>& device_names = ListDeviceNames(ctx_0); ASSERT_TRUE(std::find(device_names.begin(), device_names.end(), remote_device) != device_names.end()); } { const std::vector<std::string>& device_names = ListDeviceNames(ctx_1);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 03 20:50:20 UTC 2023 - 94.6K bytes - Viewed (0) -
istioctl/pkg/metrics/metrics.go
if err != nil { return 0, fmt.Errorf("query() failure for '%s': %v", query, err) } log.Debugf("executing query: %s result:%s", query, val) switch v := val.(type) { case model.Vector: if v.Len() < 1 { log.Debugf("no values for query: %s", query) return 0, nil } return float64(v[0].Value), nil default: return 0, errors.New("bad metric value type returned for query")
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 8.4K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_test.cc
status.get()); ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get()); // Create two vectors with different lengths std::vector<float> size_two_value{1., 2.}; std::vector<float> size_three_value{1., 2., 3.}; TensorHandlePtr size_two( VectorFloatTensorHandle(size_two_value, status.get()));
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Aug 06 23:56:17 UTC 2024 - 29.4K bytes - Viewed (0) -
doc/asm.html
</p> <p> If a vector instruction takes a length or an index as an argument then it will be the first argument. For example, <code>VLEIF</code> <code>$1,</code> <code>$16,</code> <code>V2</code> will load the value sixteen into index one of <code>V2</code>. Care should be taken when using vector instructions to ensure that they are available at runtime.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Nov 28 19:15:27 UTC 2023 - 36.3K bytes - Viewed (0) -
src/cmd/asm/internal/arch/arm64.go
} } else { return errors.New("invalid register and extension combination") } return nil } // ARM64RegisterArrangement constructs an ARM64 vector register arrangement. func ARM64RegisterArrangement(reg int16, name, arng string) (int64, error) { var curQ, curSize uint16 if name[0] != 'V' { return 0, errors.New("expect V0 through V31; found: " + name) }
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Sep 29 09:04:58 UTC 2022 - 10.4K bytes - Viewed (0) -
docs/uk/docs/index.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 20 19:20:23 UTC 2024 - 24.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
TF_AbstractOpSetOpType(fn_op, fn_name.c_str(), s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); // Build two abstract input tensors as function arguments. std::vector<TF_AbstractTensor*> func_args; { TFE_Context* eager_ctx = TF_ExecutionContextGetTFEContext(eager_execution_ctx, status.get()); ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 39.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_cluster_test.cc
job_def->mutable_tasks()->at(task_index) = tensorflow::strings::StrCat("localhost:", port); } void CheckTFE_TensorHandleHasFloats(TFE_TensorHandle* handle, const std::vector<float>& expected_values) { std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status( TF_NewStatus(), TF_DeleteStatus); TF_Tensor* t = TFE_TensorHandleResolve(handle, status.get());
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 19.2K bytes - Viewed (0)