- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 378 for placeholders (0.22 sec)
-
tensorflow/c/eager/c_api_unified_experimental_test.cc
// Add a placeholder to the graph. auto placeholder_t = TF_AddFunctionParameter(graph_ctx, TF_FLOAT, {-1, nullptr}, status.get()); TF_AbstractTensorGetEagerTensor(placeholder_t, status.get()); ASSERT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(status.get())); TF_DeleteAbstractTensor(placeholder_t); TF_DeleteExecutionContext(graph_ctx); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 19 21:44:52 UTC 2023 - 39.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/convert_attr.cc
} case AttrValue::VALUE_NOT_SET: return builder->getUnitAttr(); // kPlaceholder is not implemented. case AttrValue::kPlaceholder: return mlir::TF::PlaceholderAttr::get(builder->getContext(), value.placeholder()); default: return tensorflow::errors::Unimplemented( absl::StrCat("Attribute ", value.DebugString())); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/cc/gradients/array_grad_test.cc
TensorShape x_shape({3, 5, 3}); auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x_shape)); auto y = Slice(scope_, x, {1, 2, 1}, {1, 3, 2}); RunTest(x, x_shape, y, {1, 3, 2}); } TEST_F(ArrayGradTest, ConcatV2Grad) { TensorShape shape({3, 2, 5}); std::vector<Output> xs; xs.push_back(Placeholder(scope_, DT_FLOAT, Placeholder::Shape(shape))); xs.push_back(Placeholder(scope_, DT_FLOAT, Placeholder::Shape(shape)));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 10 23:33:32 UTC 2023 - 19.3K bytes - Viewed (0) -
tensorflow/cc/framework/gradient_checker_test.cc
Scope scope = Scope::NewRootScope(); TensorShape x_shape({1, 2, 3}); std::vector<Output> xs; xs.push_back(Placeholder(scope, DT_DOUBLE, Placeholder::Shape(x_shape))); xs.push_back(Placeholder(scope, DT_DOUBLE, Placeholder::Shape(x_shape))); auto y = Stack(scope, xs, Stack::Axis(0)); TensorShape y_shape({2, 1, 2, 3}); double max_error;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 06 15:54:08 UTC 2018 - 6.7K bytes - Viewed (0) -
tensorflow/cc/gradients/linalg_grad_test.cc
Output y = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(y_shape)); auto z = Einsum(scope_, {x, y}, "i,i->"); TensorShape z_shape({}); RunTest({x, y}, {x_shape, y_shape}, {z}, {z_shape}); } TEST_F(LinalgGradTest, Einsum_OuterProduct) { TensorShape x_shape({3}); TensorShape y_shape({5}); Output x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x_shape));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 07 23:11:54 UTC 2022 - 5.8K bytes - Viewed (0) -
tensorflow/cc/gradients/nn_grad_test.cc
TensorShape y_shape({1}); auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x_shape)); auto y = L2Loss(scope_, x); RunTest(x, x_shape, y, y_shape); } TEST_F(NNGradTest, BiasAddGradHelper) { TensorShape shape({4, 5}); TensorShape bias_shape({5}); auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(shape)); auto bias = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(bias_shape));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 22 20:45:22 UTC 2022 - 15K bytes - Viewed (0) -
tensorflow/cc/gradients/math_grad_test.cc
auto x2 = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x2_shape)); auto y = Add(scope_, x1, x2); RunTest({x1, x2}, {x1_shape, x2_shape}, {y}, {x1_shape}); } TEST_F(NaryGradTest, AddV2) { TensorShape x1_shape({3, 2, 5}); TensorShape x2_shape({2, 5}); auto x1 = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(x1_shape));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 25 18:20:20 UTC 2023 - 36K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/tflite-other.md
placeholder: e.g., Linux Ubuntu 16.04 validations: required: false - type: input id: Python attributes: label: Python version description: placeholder: e.g., 3.9 validations: required: false - type: input id: Bazel attributes: label: Bazel version description: if compiling from source placeholder: validations: required: false
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Dec 29 22:28:29 UTC 2022 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass_test.cc
Output input = ops::Placeholder(root.WithOpName("input"), DT_FLOAT); Output begin = ops::Placeholder(root.WithOpName("begin"), DT_INT64); // The C++ node bindings immediately error out when we try construct a bogus // slice so we first use a placeholder to construct the Slice and then replace // the input. Output size_placeholder = ops::Placeholder(root.WithOpName("size"), DT_INT64); Output slice =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 18.3K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
* v v */ // Define TF_Operation* feed1 = Placeholder(func_graph_, s_, "feed1"); TF_Operation* feed2 = Placeholder(func_graph_, s_, "feed2"); Define(-1, {}, {feed1, feed2}, {feed2, feed1}, {}); // Use, run, and verify TF_Operation* two = ScalarConst(2, host_graph_, s_); TF_Operation* func_feed = Placeholder(host_graph_, s_); TF_Operation* func_op = Use({two, func_feed});
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (0)