- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 34 for input_idx (0.15 sec)
-
tensorflow/c/kernels_experimental.h
// This interface forwards the reference from input to the output tensors // corresponding to the indices provided with `input_index` and `output_index` TF_CAPI_EXPORT extern void TF_OpKernelContext_ForwardRefInputToRefOutput( TF_OpKernelContext* ctx, int32_t input_index, int32_t output_index); // The API releases the opaque lock handle returned with // `TF_MaybeLockVariableInputMutexesInOrder` API
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 07 14:44:39 UTC 2023 - 9.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h
const_op->getResult(0)); auto dq = rewriter.create<DQ>(const_op->getLoc(), expressed_type, q); op.setOperand(input_index, dq.getResult()); return success(); } LogicalResult replaceStatsOp( SourceOp op, quantfork::StatisticsOp stats_op, int input_index, const operator_property::TensorProperty& tensor_property, PatternRewriter& rewriter) const {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 28K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/tf_xla_mlir_translate.cc
<< absl::StrJoin(xla_output_description.shape.dim_sizes(), ", ") << ')'; if (xla_output_description.input_index >= 0) output << " input_index=" << xla_output_description.input_index; if (xla_output_description.is_constant) output << " constant"; if (xla_output_description.is_tensor_list) output << " tensor_list"; output << '\n'; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 18.8K bytes - Viewed (0) -
tensorflow/c/eager/gradients.cc
GradientFunction* gradient_function, const string& op_name) { std::vector<int64_t> input_ids(inputs.size()); std::vector<tensorflow::DataType> input_dtypes(inputs.size()); for (int i = 0; i < inputs.size(); i++) { input_ids[i] = ToId(inputs[i]); input_dtypes[i] = inputs[i]->DataType(); } std::vector<TapeTensor> tape_tensors;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 19.3K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
const char* TF_GetNumberAttrForOpListInput(const char* op_name, int input_index, TF_Status* status) { const tensorflow::OpDef* op_def = nullptr; status->status = tensorflow::OpRegistry::Global()->LookUpOpDef(op_name, &op_def); if (!status->status.ok()) return nullptr; if (input_index >= op_def->input_arg_size() || input_index < 0) { status->status = tensorflow::errors::InvalidArgument(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 29.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc
return false; } if (filter_index == input_indices[0]) { input_index = input_indices[1]; } else if (filter_index == input_indices[1]) { input_index = input_indices[0]; } else { return false; } const QuantState& input_state = GetOperandQuantState(op, input_index); const QuantState& filter_state = GetOperandQuantState(op, filter_index);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 38.1K bytes - Viewed (0) -
tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass_test.cc
ops::Placeholder(root.WithOpName("input_float"), DT_FLOAT); Output input_i64 = ops::Placeholder(root.WithOpName("input_i64"), DT_INT64); Output begin_begin = ops::Placeholder(root.WithOpName("begin_begin"), DT_INT32); Output begin_size = ops::Const(root.WithOpName("begin_size"), {-1}); Output begin = ops::Slice(root.WithOpName("begin"), input_i64, begin_begin, begin_size); Output size =
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/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.td
// point is dynaically calculated so not a constant. def ConvertTFConv2DToXLAConvOpDynamicRange : Pat< (TF_Conv2DOp:$conv (TF_SubOp:$input (TF_CastOp $input_i8, $truncate0), $input_zp), (TF_CastOp (TF_IdentityOp $filter), $truncate1), $strides, $use_cudnn, $padding, $explicit_padding, IsDataFormatNHWC:$data_format, $dilations), (CreateXLAConvOpFromTFConv2DOp
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Dec 10 05:52:02 UTC 2023 - 21.1K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/grad_test_helper.cc
if (!outputs[i]) continue; AbstractTensorHandlePtr numerical_grad; { AbstractTensorHandle* numerical_grad_raw; s = CalcNumericalGrad(ctx, model, inputs, /*input_index=*/i, use_function, &numerical_grad_raw); ASSERT_EQ(errors::OK, s.code()) << s.message(); numerical_grad.reset(numerical_grad_raw); } TF_Tensor* numerical_tensor;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 28 13:53:47 UTC 2024 - 5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc
// the input. for (const auto& sharding_attr_and_index : llvm::enumerate(sharding_attrs)) { const auto& sharding_attr = sharding_attr_and_index.value(); const auto input_index = sharding_attr_and_index.index(); const auto& input_value = cluster_func_inputs[input_index]; xla::OpSharding sharding; if (DecodeShardingAttribute( mlir::cast<mlir::StringAttr>(sharding_attr).getValue().str(), sharding)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 21:28:13 UTC 2024 - 34K bytes - Viewed (0)