Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setFAttr (0.24 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      if (failed(::mlir::TF::UpdateDataFormat(data_format, this))) return failure();
    
      // Update convolution attributes.
      (*this)->setAttr("dilations", ShuffleArrayAttr(getDilations(), perm));
      (*this)->setAttr("strides", ShuffleArrayAttr(getStrides(), perm));
      (*this)->setAttr("explicit_paddings",
                       ShuffleArrayAttr(getExplicitPaddings(), perm, 2));
    
      return success();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

                                               mlir::CallInterfaceCallable callee) {
      // Direct call.
      if (SymbolRefAttr fAttr = op.getFAttr()) {
        SymbolRefAttr calleeAttr = callee.get<SymbolRefAttr>();
        return op.setFAttr(cast<FlatSymbolRefAttr>(calleeAttr));
      }
      // Indirect call, callee Value is the first operand.
      return op.setOperand(0, callee.get<Value>());
    }
    
    void PartitionedCallOp::setCalleeFromCallable(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

              /*type=*/mlir::TypeAttr::get(value_attr.getType()),
              /*is_mutable=*/nullptr);
          op->setAttr(
              kTfSavedModelExportedNamesAttr,
              builder.getStrArrayAttr(object_names.GetExportedNames(node_id)));
        }
      }
      AdjustBoundInputArgTypes(module);
      module->setAttr("tf_saved_model.semantics", builder.getUnitAttr());
      SortSavedModelModule(module);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
Back to top