- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for input_idx (0.24 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/mark_input_output_aliases.cc
void runOnOperation() override; }; constexpr char kAliasingAttr[] = "tf.aliasing_output"; constexpr int kUnassigned = -1; struct AliasInfo { AliasInfo() : input_index(kUnassigned), output_index(kUnassigned) {} int input_index; int output_index; }; // Idenitfy tf_device.cluster_func input-output alias pairs. // This is currently conservative, primarily handling the following base case: // ```
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 04:14:26 UTC 2024 - 7.5K bytes - Viewed (0) -
tensorflow/c/eager/gradient_checker.h
namespace tensorflow { namespace gradients { /* Returns numerical grad inside `dtheta_approx` given `forward` model and * parameter specified by `input_index`. * * I.e. if y = <output of the forward model> and w = inputs[input_index], * this will calculate dy/dw numerically. * * `use_function` indicates whether to use graph mode(true) or eager(false). *
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Dec 11 02:34:32 UTC 2020 - 1.8K bytes - Viewed (0) -
tensorflow/c/eager/gradient_checker.cc
int input_index, bool use_function, AbstractTensorHandle** numerical_grad) { vector<AbstractTensorHandle*> theta_inputs(inputs.size()); for (int i{}; i < inputs.size(); ++i) { theta_inputs[i] = inputs[i]; } AbstractTensorHandle* theta = theta_inputs[input_index]; // parameter we are grad checking
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 7.3K bytes - Viewed (0) -
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/tensorflow/tests/compile_mlir_util/graph-resource.mlir
// CHECK-NEXT: } // CHECK: // InputMapping {0, 1} // CHECK-NEXT: // XlaInputShape f32[2] // CHECK-NEXT: // XlaInputShape f32[2] // CHECK-NEXT: // XlaOutputShape (f32[2])
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 28 12:06:33 UTC 2022 - 1.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/graph-resource.pbtxt
# CHECK-NEXT: } # CHECK: // InputMapping {0, 1} # CHECK-NEXT: // XlaInputShape f32[2] # CHECK-NEXT: // XlaInputShape f32[2] # CHECK-NEXT: // XlaOutputShape (f32[2])
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 15 06:15:50 UTC 2021 - 1.5K bytes - Viewed (0) -
tensorflow/c/eager/gradient_checker_test.cc
Model model, AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> inputs, int input_index, float* expected_grad, int num_grad, bool use_function, double abs_error = 1e-2) { Status s; AbstractTensorHandlePtr numerical_grad; { AbstractTensorHandle* numerical_grad_raw; s = CalcNumericalGrad(ctx, model, inputs, input_index, use_function, &numerical_grad_raw);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 14 10:03:59 UTC 2023 - 6.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantized_function_library_xla_weight_only.mlir
// Use identity op to avoid the weight being constant-folded. %identity = "tf.Identity"(%input) : (tensor<*xi8>) -> tensor<*xi8> %input_i32 = "tf.Cast"(%identity) : (tensor<*xi8>) -> tensor<*xi32> %output = "tf.Sub"(%input_i32, %zp) : (tensor<*xi32>, tensor<*xi32>) -> tensor<*xi32> %cast = "tf.Cast"(%output) : (tensor<*xi32>) -> tensor<*xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 03 15:43:38 UTC 2023 - 7K 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)