Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for keep_dims (0.07 sec)

  1. tensorflow/c/eager/gradient_checker.cc

        sum_dims.reset(sum_dims_raw);
      }
    
      // Reduce sum the output on all dimensions.
      TF_RETURN_IF_ERROR(ops::Sum(ctx, model_out.get(), sum_dims.get(), &outputs[0],
                                  /*keep_dims=*/false, "sum_output"));
      return absl::OkStatus();
    }
    // ========================= End Helper Functions==============================
    
    absl::Status CalcNumericalGrad(AbstractContext* ctx, Model forward,
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. RELEASE.md

            mean, var = tf.nn.moments(self.kernel, axes=[0, 1, 2], keepdims=True)
            return self.convolution_op(inputs, (self.kernel - mean) / tf.sqrt(var +
            1e-10))` Alternatively, you can override `convolution_op`: `python class
            StandardizedConv2D(tf.keras.Layer): def convolution_op(self, inputs,
            kernel): mean, var = tf.nn.moments(kernel, axes=[0, 1, 2],
            keepdims=True) # Author code uses std + 1e-5 return
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Oct 22 14:33:53 UTC 2024
    - 735.3K bytes
    - Viewed (0)
Back to top