Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 218 for Indices (0.12 sec)

  1. tensorflow/compiler/aot/codegen_test_h.golden

      //
      // T* argN_data()
      //   Returns the buffer of type T for positional argument N.
      //
      // T& argN(...dim indices...)
      //   Returns a reference to the value of type T for positional argument N,
      //   with dim indices specifying which value. No bounds checking is performed
      //   on dim indices.
    
      void set_arg0_data(const void* data) {
        set_arg_data(0, data);
      }
      float* arg0_data() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. tensorflow/cc/gradients/array_grad_test.cc

      auto indices = Const(scope_, {{0, 0}, {1, 1}});
      TensorShape y_shape({2});
      auto y = GatherNd(scope_, x, indices);
      RunTest(x, x_shape, y, y_shape);
    }
    
    TEST_F(ArrayGradTest, GatherNdGrad_SliceIndexing) {
      TensorShape shape({2, 2});
      auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(shape));
      auto indices = Const(scope_, {{1}, {0}});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/util.cc

        indices = rewriter.create<mhlo::ReshapeOp>(parent_op->getLoc(),
                                                   indices_type, indices);
      } else if (index_vector_dim != indices_type.getRank() - 1) {
        // If index_vector_dim isn't the last dimension in indices then it isn't
        // supported yet.
        // TODO(tberghammer): Transpose indices to support this usecase.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. src/internal/types/testdata/check/expr3.go

    	_ = a[:10:10]
    	_ = a[:11 /* ERRORx `index .* out of bounds` */ :10]
    	_ = a[:10:11 /* ERRORx `index .* out of bounds` */ ]
    	_ = a[10:0 /* ERROR "invalid slice indices" */ :10]
    	_ = a[0:10:0 /* ERROR "invalid slice indices" */ ]
    	_ = a[10:0 /* ERROR "invalid slice indices" */:0]
    	_ = &a /* ERROR "cannot take address" */ [:10]
    
    	pa := &a
    	_ = pa[9]
    	_ = pa[10 /* ERRORx `index .* out of bounds` */ ]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 16 22:41:49 UTC 2023
    - 15.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

    def LegalizeGather: Pat<
      (TF_GatherOp $params, $indices, $ignored_validate_indices),
      (TFL_GatherOp $params, $indices, ConstantAttr<I32Attr, "0">,
         ConstantAttr<I32Attr, "0">)>;
    
    def LegalizeGatherNd : Pat<(TF_GatherNdOp $params, $indices, $bad_indices_policy),
                               (TFL_GatherNdOp $params, $indices)>;
    
    def LegalizeGatherV2 : Pat<
      (TF_GatherV2Op $params, $indices, (Arith_ConstantOp ElementsAttr:$axis), $batch_dims),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  6. src/go/types/check_test.go

    					continue
    				}
    			}
    			indices = append(indices, i)
    		}
    		if len(indices) == 0 {
    			t.Errorf("%s: no error expected: %q", gotPos, gotMsg)
    			continue
    		}
    		// len(indices) > 0
    
    		// If there are multiple matching errors, select the one with the closest column position.
    		index := -1 // index of matching error
    		var delta int
    		for _, i := range indices {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

                try {
                    empty = client.admin().indices().prepareGetMappings(actualIndex).execute().actionGet(settings.getIndicesTimeout())
                            .getMappings().isEmpty();
                } catch (final IndexNotFoundException e) {
                    empty = true;
                    final CreateIndexResponse response = client.admin().indices().prepareCreate(actualIndex)
    Registered: Wed Jun 12 15:38:08 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/check_test.go

    					continue
    				}
    			}
    			indices = append(indices, i)
    		}
    		if len(indices) == 0 {
    			t.Errorf("%s: no error expected: %q", gotPos, gotMsg)
    			continue
    		}
    		// len(indices) > 0
    
    		// If there are multiple matching errors, select the one with the closest column position.
    		index := -1 // index of matching error
    		var delta uint
    		for _, i := range indices {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

                final String docIndex = fessConfig.getIndexDocumentUpdateIndex();
                searchEngineClient.admin().indices().prepareClose(docIndex).execute(ActionListener.wrap(res -> {
                    logger.info("Close {}", docIndex);
                    searchEngineClient.admin().indices().prepareOpen(docIndex).execute(
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 14K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.td

    def DecomposeResourceScatterAdd : Pat<
      (TF_ResourceScatterAddOp:$src_op $resource, $indices, $updates),
      (TF_AssignVariableOp
        $resource,
        (TF_TensorScatterAddOp
          (CreateTFReadVariableOp $src_op, $updates, $resource),
          (TF_ExpandDimsOp $indices,
           (TF_ConstOp (GetScalarOfType<-1> $indices))),
          $updates
        ),
        (CreateConstBoolAttrFalse)
      )>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top