Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getFAttr (0.6 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

        MutableOperandRange getArgOperandsMutable() {
          return getArgsMutable();
        }
    
        // Returns the callee of this operation.
        CallInterfaceCallable getCallableForCallee() { return getFAttr(); }
        // Sets the callee from the callable.
        void setCalleeFromCallable(CallInterfaceCallable callee);
    
        // returns the callee of this operation.
        func::FuncOp func() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

               llvm::all_of(op->getResultTypes(), is_not_variant);
      };
    
      auto is_set_item_legal = [](Operation *op) {
        return op->hasAttr("resize_if_index_out_of_bounds") &&
               op->getAttr("resize_if_index_out_of_bounds")
                   .cast<mlir::BoolAttr>()
                   .getValue();
      };
    
      ConversionTarget target(*context);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        // folding), but we can still derive the shape of a constant tensor for
        // its attribute type.
        auto tensor_attr = mlir::cast<mlir::TypedAttr>(inst->getAttr("value"));
        llvm::ArrayRef<int64_t> shape_ref =
            mlir::cast<TensorType>(tensor_attr.getType()).getShape();
        if (mlir::failed(check_shape(shape_ref))) return std::nullopt;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

          // avoid compilation failure when exporting "layouts" attribute of the
          // corresponding InfeedDequeueTupleOp to a graph node.
          data_and_token->setAttr("layout", op->getAttr("layouts"));
        }
        llvm::SmallVector<Value> results;
        results.reserve(result_types.size());
        for (const auto &idx_and_type : llvm::enumerate(result_types)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  5. RELEASE.md

        (explicit) kernel methods in TensorFlow.
    
    ## Bug Fixes and Other Changes
    
    *   In python, `Operation.get_attr` on type attributes returns the Python DType
        version of the type to match expected get_attr documentation rather than the
        protobuf enum.
    *   tensorflow/contrib/rnn undergoes RNN cell variable renaming for consistency
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
Back to top