Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for SparseSoftmaxCrossEntropyWithLogits (0.65 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/compiler/jit/tests/opens2s_gnmt_mixed_precision.golden_summary

     ConcatV2 1
     Const 30
     ExpandDims 3
     Less 1
     Mean 2
     Minimum 1
     Mul 3
     Pack 2
     Pad 1
     Range 1
     RealDiv 1
     Reshape 8
     Shape 7
     Size 1
     Slice 2
     Snapshot 5
     SparseSoftmaxCrossEntropyWithLogits 1
     StridedSlice 2
     Sub 3
     Sum 1
     Tile 1
     Transpose 2
     Unpack 1
    cluster 2 size 44
     Cast 2
     ConcatV2 2
     Const 18
     ExpandDims 1
     GatherV2 2
     Less 1
     MatMul 1
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 06 10:38:14 UTC 2023
    - 5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tpu_space_to_depth_pass.mlir

        %19 = "tf.Reshape"(%18, %7) : (tensor<2x1001xf32>, tensor<2xi32>) -> tensor<2x1001xf32>
        %loss, %backprop = "tf.SparseSoftmaxCrossEntropyWithLogits"(%19, %13) : (tensor<2x1001xf32>, tensor<2xi64>) -> (tensor<2xf32>, tensor<2x1001xf32>)
        %20 = "tf.Sum"(%loss, %6) {keep_dims = false} : (tensor<2xf32>, tensor<1xi32>) -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 37.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

    }
    
    // -----
    
    //===--------------------------------------------------------------------===//
    //  tf.SparseSoftmaxCrossEntropyWithLogits
    //===--------------------------------------------------------------------===//
    
    // Test valid tf.SparseSoftmaxCrossEntropyWithLogits
    // CHECK-LABEL: func @testSparseSoftmaxCrossEntropyWithLogits
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/mark_for_compilation_pass.cc

              // clang-format on
              {"PWRED",
               {"ArgMax", "ArgMin", "DiagPart", "Softmax",
                "SparseSoftmaxCrossEntropyWithLogits", "LogSoftmax"}},
              {"REDUCEWINDOW",
               {"ArgMax", "ArgMin", "DiagPart", "Softmax",
                "SparseSoftmaxCrossEntropyWithLogits", "LogSoftmax"}},
              {"REDUCEWINDOWPW", {"BiasAddGrad", "LRN", "LRNGrad"}},
              {"BN",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
Back to top