Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 161 for Indices (0.2 sec)

  1. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

      (replaceWithValue $params),
      [(CanOptimizeIdentityGatherNdOrScatterNdOp $params, $indices, $output)]>;
    
    def OptimizeIdentityScatterNdOp : Pat<
      (TFL_ScatterNdOp:$output (Arith_ConstantOp I32ElementsAttr: $indices), $params, $ignored),
      (replaceWithValue $params),
      [(CanOptimizeIdentityGatherNdOrScatterNdOp $params, $indices, $output)]>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

        }
      }
    
      return indices;
    }
    
    // Given a list of tensor indices, returns true if any of the tensors have
    // non-empty name strings.
    bool HasNonEmptyNames(const tflite::SubGraphT& subgraph,
                          ArrayRef<int32_t> indices) {
      return llvm::any_of(
          indices, [&](int i) { return !subgraph.tensors.at(i)->name.empty(); });
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting_cleanup.cc

          op->setAttr(attr.getName(),
                      FlatSymbolRefAttr::get(op->getContext(), cloned.getName()));
          break;
        }
      }
    
      // Traverse results backward so that indices to be deleted stay unchanged.
      for (OpResult result : llvm::reverse(op->getResults())) {
        if (!result.use_empty()) continue;
        int result_idx = result.getResultNumber();
        for (func::FuncOp func : cloned_branches)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc

        // final_op = "Div"
        llvm::SmallVector<int64_t> indices(group_size.getInt());
        std::iota(indices.begin(), indices.end(), 0);
    
        auto replica_groups = mlir::DenseIntElementsAttr::get(
            mlir::RankedTensorType::get({1, group_size.getInt()},
                                        rewriter.getI64Type()),
            indices);
    
        {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.td

      let description = [{
        Get a tensor in resource array.
    
        indices: the indices in the resource array.
        results: the tensor values for the corresponding indices.
    
        in_ch and out_ch are for control dependencies.
      }];
    
      let arguments = (ins
        TFRT_ChainType:$in_ch,
        StrAttr:$device,
        I64ArrayAttr:$indices
      );
    
      let results = (outs
        TFRT_ChainType:$out_ch,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/control_flow.mlir

    }
    
    // CHECK-LABEL: func @tensor_array_while_test
    // CHECK-SAME: ([[in_chain:%.*]]: !tfrt.chain
    func.func @tensor_array_while_test(%indices: tensor<?xi32>, %input_0: tensor<?x?x?xf32>, %input_1: tensor<?x?x?xf32>) -> (tensor<?x?x512xf32>, tensor<?x?x512xf32>) {
      %index = "tf.Const"() {device = "/device:CPU:0", value = dense<0> : tensor<i32>} : () -> (tensor<i32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 00:40:32 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

      let summary = "get a tensor in resource array";
    
      let description = [{
        Get a tensor in resource array.
    
        indices: the indices in the resource array.
        results: the tensor values for the corresponding indices.
      }];
    
      let arguments = (ins
        I64ArrayAttr:$indices
      );
    
      let results = (outs
        Variadic<TFTensorType>:$results
      );
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  8. src/net/dnsconfig.go

    	trustAD       bool          // add AD flag to queries
    	noReload      bool          // do not check for config file updates
    }
    
    // serverOffset returns an offset that can be used to determine
    // indices of servers in c.servers when making queries.
    // When the rotate option is enabled, this offset increases.
    // Otherwise it is always 0.
    func (c *dnsConfig) serverOffset() uint32 {
    	if c.rotate {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

                    "of indices");
        }
      }
    
      if ((indices_rank == 0) || (indices_rank == batch_dims_i)) {
        // Scalar indices (output is rank(params) - 1).
        // Erase shape[axis]
        shape.erase(shape.begin() + axis_i);
      } else if (indices_rank == 1) {
        // Vector indices (output is rank(params)).
        // Copy indices.shape into params.shape[axis]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_ops.td

        $constant_operand_indices are the indices of the inputs that are constant to the TPU program (e.g. weights in inference), the rest of the inputs are input tensors.
        constant_operand_indices is sorted in ascending order.
        $operands_with_static_shape are indices of operands that are tagged with a maximum static shape.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:35:32 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top