Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for SparseSoftmaxCrossEntropyWithLogits (0.55 sec)

  1. tensorflow/c/experimental/gradients/nn_grad_test.cc

      AbstractTensorHandle* loss;
      AbstractTensorHandle* backprop;
      TF_RETURN_IF_ERROR(ops::SparseSoftmaxCrossEntropyWithLogits(
          ctx, inputs[0], inputs[1], &loss, &backprop,
          "SparseSoftmaxCrossEntropyWithLogits"));
      // `gradient_checker` only works with model that returns only 1 tensor.
      // Although, `ops::SparseSoftmaxCrossEntropyWithLogits` returns 2 tensors, the
      // second tensor isn't needed for computing gradient so we could safely drop
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 13:53:47 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/ops/nn_ops.cc

    #include "tensorflow/core/framework/types.h"
    #include "tensorflow/core/platform/errors.h"
    
    using tensorflow::tracing::MaybeSetOpName;
    
    namespace tensorflow {
    namespace ops {
    
    // Op: SparseSoftmaxCrossEntropyWithLogits()
    // Summary: Computes softmax cross entropy cost and gradients to backpropagate.
    //
    // Description:
    //   Unlike `SoftmaxCrossEntropyWithLogits`, this operation does not accept
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 10 19:11:36 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/ops/gen/cpp/golden/testing_ops.cc.golden

      TF_RETURN_IF_ERROR(op_ptr->AddInputList(input));
      int num_retvals = output.size();
      return op_ptr->Execute(output, &num_retvals);
    }
    
    // Op: SparseSoftmaxCrossEntropyWithLogits()
    // Summary:
    //
    // Description:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 16 19:04:03 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/ops/update_cpp_ops.sh

      Mul \
      Conj \
      AddV2 \
      MatMul \
      Neg \
      Sum \
      Sub \
      Div \
      DivNoNan \
      Exp \
      Sqrt \
      SqrtGrad \
      Log1p
    
    ${generate} \
      --category=nn \
      SparseSoftmaxCrossEntropyWithLogits \
      ReluGrad \
      Relu \
      BiasAdd \
      BiasAddGrad
    
    ${generate} \
      --category=resource_variable \
      VarHandleOp \
      ReadVariableOp \
      AssignVariableOp \
      DestroyResourceOp
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 17 17:54:34 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/ops/gen/cpp/golden/testing_ops.h.golden

    //
    Status IdentityN(AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> input, absl::Span<AbstractTensorHandle*> output, const char* name = nullptr, const char* raw_device_name = nullptr);
    
    //
    Status SparseSoftmaxCrossEntropyWithLogits(AbstractContext* ctx, AbstractTensorHandle* const features, AbstractTensorHandle* const labels, AbstractTensorHandle** loss, AbstractTensorHandle** backprop, const char* name = nullptr, const char* raw_device_name = nullptr);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 16 19:04:03 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/ops/nn_ops.h

    #include "tensorflow/c/eager/abstract_tensor_handle.h"
    
    namespace tensorflow {
    namespace ops {
    
    // Computes softmax cross entropy cost and gradients to backpropagate.
    Status SparseSoftmaxCrossEntropyWithLogits(
        AbstractContext* ctx, AbstractTensorHandle* const features,
        AbstractTensorHandle* const labels, AbstractTensorHandle** loss,
        AbstractTensorHandle** backprop, const char* name = nullptr,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 10 19:11:36 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/tests/keras_imagenet_main_graph_mode.golden_summary

     MatMul 3
     MaxPool 1
     MaxPoolGrad 1
     Mean 1
     Mul 164
     Pad 1
     ReadVariableOp 646
     Relu 49
     ReluGrad 49
     Reshape 2
     ResourceApplyKerasMomentum 161
     ShapeN 50
     Softmax 1
     SparseSoftmaxCrossEntropyWithLogits 1
     Square 55
     Squeeze 1
     Sub 106
     Sum 57
     Tile 1
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 06 10:38:14 UTC 2023
    - 740 bytes
    - Viewed (0)
  8. tensorflow/c/experimental/ops/gen/cpp/cpp_generator_test.cc

      string api_dirs = "";
      std::vector<string> ops = {
          "Neg",        // Simple unary Op
          "MatMul",     // 2 inputs & attrs with default values
          "IdentityN",  // Variadic input+output
          "SparseSoftmaxCrossEntropyWithLogits",  // 2 outputs
          "AccumulatorApplyGradient",             // 0 outputs
          "VarHandleOp",                          // type, shape, list(string) attrs
          "RestoreV2",  // Variadic output-only, list(type) attr
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 18 17:02:28 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/tests/keras_imagenet_main.golden_summary

     MatMul 3
     MaxPool 1
     MaxPoolGrad 1
     Mean 1
     Mul 218
     Pad 2
     ReadVariableOp 538
     Relu 49
     ReluGrad 49
     Reshape 2
     ResourceApplyKerasMomentum 161
     Slice 1
     Softmax 1
     SparseSoftmaxCrossEntropyWithLogits 1
     Squeeze 1
     Sum 1
     Tile 1
     Transpose 1
    cluster 1 size 815
     AddN 1
     AssignAddVariableOp 1
     AssignSubVariableOp 106
     Const 220
     DivNoNan 1
     Identity 1
     Mul 161
     ReadVariableOp 106
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 06 10:38:14 UTC 2023
    - 874 bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/lower_tf.mlir

      func.return %0#0, %0#1 : tensor<?xf32>, tensor<?x?xf32>
    }
    
    // CHECK-LABEL: SparseSoftmaxCrossEntropyWithLogits
    // CHECK-SAME: %[[FEATURES:.*]]: tensor<2x3xf32>, %[[SPARSE_LABELS:.*]]: tensor<2xi32>
    func.func @SparseSoftmaxCrossEntropyWithLogits(%features: tensor<2x3xf32>, %labels: tensor<2xi32>) -> (tensor<2xf32>, tensor<2x3xf32>) {
      // Convert SPARSE_LABELS to dense LABELS.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 92K bytes
    - Viewed (0)
Back to top