Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for GatherV2 (0.16 sec)

  1. tensorflow/cc/gradients/array_grad_test.cc

      auto y = GatherV2(scope_, x, {9, 8, 7, 6}, /*axis=*/3);
      TensorShape y_shape({2, 3, 7, 4});
      RunTest(x, shape, y, y_shape);
    }
    
    TEST_F(ArrayGradTest, GatherV2Grad_BatchDim) {
      TensorShape shape({2, 100, 3});
      auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(shape));
      GatherV2::Attrs attrs;
      attrs.batch_dims_ = 1;
      auto y =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/decompose_resource_op.mlir

    // CHECK-NEXT: [[res:%.*]] = tfrt_fallback_async.executeop key(1) cost({{.*}}) device("/job:localhost/replica:0/task:0/device:CPU:0") "tf.GatherV2"([[value]], {{.*}}, [[const]])
    // CHECK-NEXT: tfrt.return [[out_chain]], [[res]] : !tfrt.chain, !tfrt_fallback.tf_tensor
    func.func @gather(%indices: tensor<?xi32>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 00:40:32 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/tests/opens2s_gnmt_mixed_precision.golden_summary

     ExpandDims 1
     ReverseSequence 1
     Shape 1
     StridedSlice 1
     Transpose 3
    cluster 6 size 11
     Cast 1
     Const 5
     GatherV2 1
     Shape 1
     StridedSlice 1
     Transpose 1
     ZerosLike 1
    cluster 7 size 33
     All 2
     Cast 1
     Const 17
     Equal 2
     ExpandDims 2
     GatherV2 1
     Identity 1
     ReverseSequence 1
     Shape 2
     StridedSlice 2
     Transpose 2
    cluster 8 size 11
     Cast 1
     Const 4
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 06 10:38:14 UTC 2023
    - 5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/tests/duplicate_shape_determining_constants.mlir

    // CHECK-SAME: value = dense<1> : tensor<1xi32>
    // CHECK-DAG: %[[CST_1:.*]] = "tf.Const"()
    // CHECK-SAME: value = dense<1> : tensor<1xi32>
    
    // Check that the constants used for tf.GatherV2 and tf.AddV2 are different.
    // CHECK: %[[GATHER_V2:.*]] = "tf.GatherV2"(%[[ARG_0]], %[[ARG_1]], %[[CST_1]])
    // CHECK: %[[ADDV2:.*]] = "tf.AddV2"(%[[CST_0]], %[[CST_0]])
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 24 07:44:46 UTC 2022
    - 11K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/tests/mlrt/while_to_map_fn.mlir

    // CHECK-NEXT: tf.Const
    // CHECK-NEXT: tf.Const
    // CHECK-NEXT: tf.Const
    // CHECK-NEXT: tf.Const
    // CHECK-NEXT: tf.GatherV2
    // CHECK-NEXT: tf.AddV2
    // CHECK-NEXT: tf.AddV2
    // CHECK-NEXT: tf.GatherV2
    // CHECK-NEXT: tf.Mul
    // CHECK-NEXT: tf.GatherV2
    // CHECK-NEXT: tf.Mul
    // CHECK-NEXT: tf_mlrt.tf_await
    // CHECK-NEXT: tf_mlrt.tf_await
    // CHECK-NEXT: tf.TensorListSetItem
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:40:22 UTC 2024
    - 68.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/tests/ifrt/sink_variable_as_named_array.mlir

      }
    }
    
    
    // -----
    //  Decomposable Resource Ops usage
    //
    // CHECK-LABEL:  func.func @serving_default
    // CHECK:      "tf.VarHandleOp"
    // CHECK-NEXT: "tf.IfrtLoadVariable"
    // CHECK-NEXT: "tf.GatherV2"
    // CHECK-NEXT:  return 
    //
    module {
      func.func @serving_default() -> tensor<1x3xbf16> {
        %cst = "tf.Const"() <{value = dense<[1]> : tensor<1xi32>}> : () -> tensor<1xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 15:33:17 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantized_function_library_xla_weight_only.mlir

                             %weight_scale : tensor<*xf32>, %weight_zp : tensor<*xi32>) -> tensor<*xf32>
          attributes {tf_quant.quantized_ops = ${quantized_ops}}
      {
        %accum_out = "tf.GatherV2"(%weight, %input, %axis) {
          batch_dims = 0 : i64, attr_map = "batch_dims:0"} : (tensor<*xi8>, tensor<*xi32>, tensor<i32>) -> tensor<*xi8>
    
        %accum_out_new = "tf.Cast"(%accum_out) : (tensor<*xi8>) -> 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)
  8. tensorflow/compiler/mlir/lite/tests/fuse-tftext.mlir

      %383 = "tf.GatherV2"(%11, %382#1, %14) {batch_dims = 0 : i64, device = ""} : (tensor<1xi64>, tensor<?xi64>, tensor<i32>) -> tensor<?xi64>
      %384 = "tf.GatherV2"(%12, %383, %14) {batch_dims = 0 : i64, device = ""} : (tensor<1xi64>, tensor<?xi64>, tensor<i32>) -> tensor<?xi64>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 460.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/analysis/cost_analysis.cc

      if (mlir::isa<mlir::TF::StringType>(key_type.getElementType()))
        cost *= kLookupTableFindStringKeyCostScale;
    
      return cost;
    }
    
    // The cost function for tf.GatherV2.
    int64_t InferGatherV2Cost(const CostContext& context, mlir::TF::GatherV2Op op) {
      return InferTensorSize(
          context, mlir::cast<mlir::TensorType>(op.getOutput().getType()));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  10. tensorflow/cc/framework/fuzzing/cc_op_fuzz_gen.cc

      std::set<string> constrained_kernel = {"Diag",
                                             "DiagPart",
                                             "GatherNd",
                                             "GatherV2",
                                             "QuantizeAndDequantizeV2",
                                             "QuantizeAndDequantizeV3",
                                             "QuantizeAndDequantizeV4",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 27 16:26:51 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top