Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 126 for indices (0.18 sec)

  1. src/go/printer/nodes.go

    		p.exprList(x.Lbrack, x.Indices, depth+1, commaTerm, x.Rbrack, false)
    		p.setPos(x.Rbrack)
    		p.print(token.RBRACK)
    
    	case *ast.SliceExpr:
    		// TODO(gri): should treat[] like parentheses and undo one level of depth
    		p.expr1(x.X, token.HighestPrec, 1)
    		p.setPos(x.Lbrack)
    		p.print(token.LBRACK)
    		indices := []ast.Expr{x.Low, x.High}
    		if x.Max != nil {
    			indices = append(indices, x.Max)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

      }];
    
      let arguments = (ins
        Arg<TF_ResourceTensor, "", [TF_VariableRead]>:$resource,
        TF_I32OrI64Tensor:$indices
      );
    
      let results = (outs
        TF_Tensor:$output
      );
    
      TF_DerivedOperandTypeAttr Tindices = TF_DerivedOperandTypeAttr<1>;
      TF_DerivedResultTypeAttr dtype = TF_DerivedResultTypeAttr<0>;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc

          }
          (*types)[index] = n->output_type(0);
        }
      }
      return absl::OkStatus();
    }
    
    // Renumber the indices of _Arg nodes in a graph, according to
    // 'permutation' that maps old indices to new indices.
    static Status RenumberArguments(Graph* graph,
                                    const std::vector<int>& permutation) {
      for (Node* n : graph->op_nodes()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 51K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

    // new argument index that corresponds to each original index (-1 means it is
    // removed). If remaining_resource_data_types is provided, it will store the
    // data types of the remaining resource arguments, where the indices are after
    // removing unused ones.
    void RemoveUnusedResourceArgumentsAndForwardedRetvals(
        const llvm::SmallDenseMap<int64_t, ResourceArgUseInfo>& infos,
        func::FuncOp func_op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  5. tensorflow/cc/gradients/math_grad.cc

      //     [3.0, 5.0],
      //     [0.0, 6.0],
      //     [5.0, 6.0]
      //   ]
      // ]
    
      // [2, 3, 2]
      auto input_shape = Shape(scope, op.input(0));
    
      // The Reshape with -1 flattens the reduction indices.
      // [1]
      auto reduction_indices = Reshape(scope, op.input(1), {-1});
    
      // [2, 1, 2]
      auto output_shape_kept_dims =
          ReducedShapeHelper(scope, input_shape, reduction_indices);
    
      // [1, 3, 1]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 50.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/apps/v1/types.go

    	// 0-indexed names, or to orchestrate progressive movement of replicas from
    	// one StatefulSet to another.
    	// If set, replica indices will be in the range:
    	//   [.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).
    	// If unset, defaults to 0. Replica indices will be in the range:
    	//   [0, .spec.replicas).
    	// +optional
    	Start int32 `json:"start" protobuf:"varint,1,opt,name=start"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/apps/v1beta2/types.go

    	// 0-indexed names, or to orchestrate progressive movement of replicas from
    	// one StatefulSet to another.
    	// If set, replica indices will be in the range:
    	//   [.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).
    	// If unset, defaults to 0. Replica indices will be in the range:
    	//   [0, .spec.replicas).
    	// +optional
    	Start int32 `json:"start" protobuf:"varint,1,opt,name=start"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:24 UTC 2023
    - 52.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/lift_quantizable_spots_as_functions.mlir

    } : (tensor<3x4x2xi32>, tensor<2x3x2xi64>) -> tensor<2x3x2x2xi32>
      func.return %2: tensor<2x3x2x2xi32>
    }
    // CHECK: %[[OPERAND:.*]] = stablehlo.constant
    // CHECK: %[[INDICES:.*]] = stablehlo.constant
    // CHECK: %[[XLA_CALL_MODULE:.*]] = "tf.XlaCallModule"(%[[OPERAND]], %[[INDICES]])
    // CHECK: return %[[XLA_CALL_MODULE:.*]] : tensor<2x3x2x2xi32>
    // CHECK: }
    
    // CHECK-LABEL: private @composite_gather_fn_1
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

        # TODO(mdan): This needs some type theory study.
        if TFRTypes.INDEX in elt_types:
          # Constants collapse to indices.
          elt_types.discard(TFRTypes.I64)
        if TFRTypes.TENSOR in elt_types:
          # Constants collapse to tensors.
          elt_types.discard(TFRTypes.I64)
          # Indices collapse to tensors.
          elt_types.discard(TFRTypes.INDEX)
        return elt_types
    
      def res_list_literal(self, ns, elt_types):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  10. pkg/apis/certificates/validation/validation_test.go

    					TrustBundle: goodCert1Block + "\n" + goodCert1AlternateBlock,
    				},
    			},
    			wantErrors: field.ErrorList{
    				field.Invalid(field.NewPath("spec", "trustBundle"), "<value omitted>", "duplicate trust anchor (indices [0 1])"),
    			},
    		}, {
    			description: "invalid, non-certificate entry",
    			bundle: &capi.ClusterTrustBundle{
    				ObjectMeta: metav1.ObjectMeta{
    					Name: "foo",
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 03 18:40:49 UTC 2023
    - 61K bytes
    - Viewed (0)
Back to top