- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 47 for add_input (0.16 sec)
-
tensorflow/c/eager/abstract_operation.h
// // The value will override the previous value - that is, no "merging" of // existing and given constraints will be performed. virtual Status SetDeviceName(const char* name) = 0; virtual Status AddInput(AbstractTensorHandle* input) = 0; virtual Status AddInputList( absl::Span<AbstractTensorHandle* const> inputs) = 0; virtual Status Execute(absl::Span<AbstractTensorHandle*> retvals,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jul 14 16:20:41 UTC 2021 - 6.8K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.cc
TF_AbstractTensor* const* inputs, TF_OutputList* o, TF_Status* s) { for (int i = 0; i < num_inputs; i++) { tsl::Set_TF_Status_from_Status(s, unwrap(op)->AddInput(unwrap(inputs[i]))); if (TF_GetCode(s) != TF_OK) { return; } } int num_outputs = unwrap(o)->expected_num_outputs; tsl::Set_TF_Status_from_Status( s, unwrap(op)->Execute(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 10:15:17 UTC 2024 - 9K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/function.cc
auto call_op = AbstractOperationPtr(ctx->CreateOperation()); TF_RETURN_IF_ERROR( call_op->Reset(fname.c_str(), /*raw_device_name=*/nullptr)); for (auto t : inputs) { TF_RETURN_IF_ERROR(call_op->AddInput(t)); } int num_outputs = outputs.size(); return call_op->Execute(outputs, &num_outputs); } Status VerifySupportedSignature(TaggedValue signature) { if (signature.type() == TaggedValue::Type::TENSOR_SPEC) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 04 19:49:06 UTC 2024 - 9.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/library/quantity_test.go
expectValue: types.Int(1), }, { name: "add_quantity", expr: `quantity("50k").add(quantity("20")) == quantity("50.02k")`, expectValue: trueVal, }, { name: "add_int", expr: `quantity("50k").add(20).isLessThan(quantity("50020"))`, expectValue: falseVal, }, { name: "sub_quantity",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 17:22:44 UTC 2024 - 8.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
Status SetDeviceName(const char* name) override { // TODO(srbs): Implement this. device_name_ = name; return absl::OkStatus(); } Status AddInput(AbstractTensorHandle* input) override { GraphTensor* t = dyn_cast<GraphTensor>(input); if (!t) { return tensorflow::errors::InvalidArgument( "Unable to cast input to GraphTensor"); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 20:00:09 UTC 2024 - 15.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_space_to_depth_pass.cc
// Rewrite pad_op before Convolutioin. if (failed(HandlePad(pad_op, filter_shape[0], block_size))) return; auto pad_input = pad_op.getInput(); if (auto block_arg = mlir::dyn_cast<mlir::BlockArgument>(pad_input)) { // Change on device function type/shape. HandleFuncOp(block_arg.getOwner()->getParentOp()); } } // Handle Conv2D input, stride and filter.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 29.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/prepare_lifting.mlir
// CHECK: %[[q_input:.*]] = "quantfork.qcast"(%arg0) : (tensor<1x3x4x3xf32>) -> tensor<1x3x4x3x!quant.uniform<i8:f32, 0.0011764706057660721:-43>> // CHECK: %[[dq_input:.*]] = "quantfork.dcast"(%[[q_input]]) : (tensor<1x3x4x3x!quant.uniform<i8:f32, 0.0011764706057660721:-43>>) -> tensor<1x3x4x3xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 03:24:59 UTC 2024 - 33.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc
// [0, 1] is symmetric across the line Y=0.5. Value abs_input = rewriter.create<AbsOp>(loc, input); Value abs_input_floor = rewriter.create<FloorOp>(loc, abs_input); Value abs_frac_input = rewriter.create<SubOp>(loc, abs_input, abs_input_floor); // Convert values of abs_frac_input > 0.5 to (1 - frac_input) to improve
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 74.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/const-fold.mlir
func.return %5, %6, %7, %8, %9 : tensor<f32>, tensor<4xf32>, tensor<4xf32>, tensor<4xf32>, tensor<4xf32> } // CHECK-LABEL: @add_int func.func @add_int() -> (tensor<i32>, tensor<4xi32>, tensor<4xi32>, tensor<4xi32>) { %0 = arith.constant dense<8> : tensor<i32> %1 = arith.constant dense<1> : tensor<i32> %2 = arith.constant dense< 4> : tensor<4xi32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 45.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc
if (n->IsOp()) { NodeDef* node_def = n->mutable_def(); node_def->clear_input(); for (const Edge* e : n->in_edges()) { Node* src = e->src(); if (src->IsOp()) { Graph::AddInput(node_def, src->name(), e->src_output()); } } } } } absl::StatusOr<std::unique_ptr<Graph>> Exporter::Convert( const GraphExportConfig& configs, const Dialect* tf_dialect,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 35.2K bytes - Viewed (0)